Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,8 @@ chain = RetrievalQA(
|
|
| 67 |
retriever=retriever,
|
| 68 |
)
|
| 69 |
|
| 70 |
-
|
|
|
|
| 71 |
tmp_button = st.button("CLICK")
|
| 72 |
if tmp_button: #Esperar al boton
|
| 73 |
out = chain.invoke(pregunta)
|
|
|
|
| 67 |
retriever=retriever,
|
| 68 |
)
|
| 69 |
|
| 70 |
+
st.header("Este es un ChatBot 🤖🦾 entrenado con las preguntas frecuentes del sitio del servicios de impuestos interno de Chile.")
|
| 71 |
+
pregunta = st.text_area('Ingresa tu pregunta:', value="Que es un APA?")
|
| 72 |
tmp_button = st.button("CLICK")
|
| 73 |
if tmp_button: #Esperar al boton
|
| 74 |
out = chain.invoke(pregunta)
|