oskrmiguel commited on
Commit
e86149a
1 Parent(s): d18d729

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.text(result['answer'])
16
- porcentaje.text(result['score'])
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