Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def load_model():
|
|
21 |
nltk.download('punkt')
|
22 |
print("Model loaded!")
|
23 |
|
24 |
-
|
25 |
st.success('Model loaded!')
|
26 |
st_model_load.text("")
|
27 |
|
|
|
21 |
nltk.download('punkt')
|
22 |
print("Model loaded!")
|
23 |
|
24 |
+
tokenizer, model = load_model()
|
25 |
st.success('Model loaded!')
|
26 |
st_model_load.text("")
|
27 |
|