Spaces:
Runtime error
Runtime error
Update streamlit_app.py
Browse files- streamlit_app.py +1 -1
streamlit_app.py
CHANGED
@@ -242,7 +242,7 @@ with st.form('my_form'):
|
|
242 |
|
243 |
with st.spinner('Loading Model...'):
|
244 |
model = T5Model
|
245 |
-
best_model_dir = '
|
246 |
best_model = model.load_from_checkpoint(best_model_dir)
|
247 |
# best_model = model.load_from_checkpoint(callback.best_model_path)
|
248 |
best_model.freeze()
|
|
|
242 |
|
243 |
with st.spinner('Loading Model...'):
|
244 |
model = T5Model
|
245 |
+
best_model_dir = 't5-chkpt-v2.ckpt'
|
246 |
best_model = model.load_from_checkpoint(best_model_dir)
|
247 |
# best_model = model.load_from_checkpoint(callback.best_model_path)
|
248 |
best_model.freeze()
|