jcmachicao commited on
Commit
97ad8e8
1 Parent(s): d58226c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -13,9 +13,10 @@ from transformers import AutoTokenizer, AutoModelForQuestionAnswering
13
 
14
  st.image('gdmk.png', width=150)
15
 
16
- st.write('[link](https://huggingface.co/spaces/jcmachicao/dialogatexto/blob/main/trucha_peru.txt)')
17
 
18
- texto = st.text_area('Cargue un texto de hasta 2 hojas, 500 palabras, ó 5000 caracteres: ', height=200)
 
19
 
20
  st.write('También puedes modificar las preguntas.')
21
  preg_1 = st.text_input('Pregunta 1', '¿Cuánta trucha exportó el Perú durante el año 2020?')
 
13
 
14
  st.image('gdmk.png', width=150)
15
 
16
+ texto = st.text_area('Cargue un texto de hasta 2 hojas, 500 palabras, ó 5000 caracteres: ', height=100)
17
 
18
+ st.write('Si no tienes un texto listo, puedes usar el que está en este link, sólo copiando y pegando el texto en el espacio de arriba.')
19
+ st.write('[link](https://huggingface.co/spaces/jcmachicao/dialogatexto/blob/main/trucha_peru.txt)')
20
 
21
  st.write('También puedes modificar las preguntas.')
22
  preg_1 = st.text_input('Pregunta 1', '¿Cuánta trucha exportó el Perú durante el año 2020?')