Lisibonny commited on
Commit
cedf42c
1 Parent(s): c50267c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def crear_indice():
46
  def load_qa_model():
47
 
48
  tokenizer = AutoTokenizer.from_pretrained('dccuchile/bert-base-spanish-wwm-cased', use_fast="false")
49
- model = TFAutoModelForQuestionAnswering.from_pretrained("Lisibonny/modelo_qa_beto_squad_es_5000")
50
  return tokenizer, model
51
 
52
  # 4. Use streamlit to create a web app
 
46
  def load_qa_model():
47
 
48
  tokenizer = AutoTokenizer.from_pretrained('dccuchile/bert-base-spanish-wwm-cased', use_fast="false")
49
+ model = TFAutoModelForQuestionAnswering.from_pretrained("Lisibonny/modelo_qa_periodicos_dominicanos")
50
  return tokenizer, model
51
 
52
  # 4. Use streamlit to create a web app