Spaces:
Build error
Build error
Update app.py
Browse files
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/
|
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_beto_squad_es_5000")
|
50 |
return tokenizer, model
|
51 |
|
52 |
# 4. Use streamlit to create a web app
|