ferdmartin commited on
Commit
2bd4c4b
·
1 Parent(s): f717bdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -108,9 +108,9 @@ def main():
108
  Load trained Transformer-based models and save in cache memory.
109
  """
110
  if option == "BERT-based model":
111
- model = HF_BertBasedModelAppDocs.from_pretrained("ferdmartin/HF_BertBasedModelAppDocs").to(device)
112
  else:
113
- model = HF_DistilBertBasedModelAppDocs.from_pretrained("ferdmartin/HF_DistilBertBasedModelAppDocs").to(device)
114
  return model
115
 
116
 
 
108
  Load trained Transformer-based models and save in cache memory.
109
  """
110
  if option == "BERT-based model":
111
+ model = HF_BertBasedModelAppDocs.from_pretrained("ferdmartin/HF_BertBasedModelAppDocs2").to(device)
112
  else:
113
+ model = HF_DistilBertBasedModelAppDocs.from_pretrained("ferdmartin/HF_DistilBertBasedModelAppDocs2").to(device)
114
  return model
115
 
116