Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -84,10 +84,11 @@ with st.status("Cargando Aplicación...", expanded=False) as status:
|
|
84 |
status.update(label="Finalizado!", state="complete")
|
85 |
|
86 |
def main():
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
|
|
91 |
|
92 |
if __name__ == "__main__":
|
93 |
main()
|
|
|
84 |
status.update(label="Finalizado!", state="complete")
|
85 |
|
86 |
def main():
|
87 |
+
while True:
|
88 |
+
pregunta = st.text_area('Ingrese su pregunta')
|
89 |
+
if pregunta:
|
90 |
+
out = qa(str(pregunta))
|
91 |
+
st.write(out)
|
92 |
|
93 |
if __name__ == "__main__":
|
94 |
main()
|