Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ filename = "metalearn_wordy.bin"
|
|
9 |
model_path = hf_hub_download(repo_id=repo_id, filename=filename)
|
10 |
|
11 |
fasttext_model = fasttext.load_model(model_path)
|
12 |
-
model = AutoModel.from_pretrained(repo_id)
|
13 |
|
14 |
|
15 |
def predict(input_text):
|
|
|
9 |
model_path = hf_hub_download(repo_id=repo_id, filename=filename)
|
10 |
|
11 |
fasttext_model = fasttext.load_model(model_path)
|
12 |
+
model = AutoModel.from_pretrained(repo_id, force_download=True)
|
13 |
|
14 |
|
15 |
def predict(input_text):
|