Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def paginar_frame(df):
|
|
45 |
def load_qa_model():
|
46 |
|
47 |
tokenizer = AutoTokenizer.from_pretrained('dccuchile/bert-base-spanish-wwm-uncased', use_fast="false")
|
48 |
-
model = TFAutoModelForQuestionAnswering.from_pretrained("Lisibonny/
|
49 |
return tokenizer, model
|
50 |
|
51 |
# 4. Use streamlit to create a web app
|
|
|
45 |
def load_qa_model():
|
46 |
|
47 |
tokenizer = AutoTokenizer.from_pretrained('dccuchile/bert-base-spanish-wwm-uncased', use_fast="false")
|
48 |
+
model = TFAutoModelForQuestionAnswering.from_pretrained("Lisibonny/modelo_qa_beto_squad_es")
|
49 |
return tokenizer, model
|
50 |
|
51 |
# 4. Use streamlit to create a web app
|