Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -84,11 +84,10 @@ 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 |
-
st.write(out)
|
92 |
|
93 |
if __name__ == "__main__":
|
94 |
main()
|
|
|
84 |
status.update(label="Finalizado!", state="complete")
|
85 |
|
86 |
def main():
|
87 |
+
pregunta = st.text_area('Ingrese su pregunta')
|
88 |
+
if pregunta:
|
89 |
+
out = qa(str(pregunta))
|
90 |
+
st.write(out)
|
|
|
91 |
|
92 |
if __name__ == "__main__":
|
93 |
main()
|