Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -263,7 +263,7 @@ def gradio_response(user_input):
|
|
263 |
setup()
|
264 |
|
265 |
# Interface Gradio
|
266 |
-
gr.
|
267 |
fn=gradio_response,
|
268 |
inputs=gr.Textbox(label="Sua pergunta", placeholder="Digite sua dúvida aqui..."),
|
269 |
outputs=gr.Textbox(label="Resposta do Swarm"),
|
|
|
263 |
setup()
|
264 |
|
265 |
# Interface Gradio
|
266 |
+
gr.ChatInterface(
|
267 |
fn=gradio_response,
|
268 |
inputs=gr.Textbox(label="Sua pergunta", placeholder="Digite sua dúvida aqui..."),
|
269 |
outputs=gr.Textbox(label="Resposta do Swarm"),
|