tevykuch commited on
Commit
7453a11
·
verified ·
1 Parent(s): 7d28630

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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):