Spaces:
Runtime error
Runtime error
Commit
•
e86149a
1
Parent(s):
d18d729
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ porcentaje=st.text_area('Score')
|
|
12 |
|
13 |
if contexto and pregunta:
|
14 |
result=qa_model(question = pregunta, context = contexto)
|
15 |
-
respuesta.
|
16 |
-
porcentaje.
|
17 |
#st.text('Loading data...')
|
18 |
|
19 |
|
|
|
12 |
|
13 |
if contexto and pregunta:
|
14 |
result=qa_model(question = pregunta, context = contexto)
|
15 |
+
respuesta.write(result['answer'])
|
16 |
+
porcentaje.write(result['score'])
|
17 |
#st.text('Loading data...')
|
18 |
|
19 |
|