Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| from agent import responder | |
| def chat(mensagem): | |
| return responder(mensagem) | |
| app = gr.Interface( | |
| fn=chat, | |
| inputs=gr.Textbox(label="Fale com Ene/Miku"), | |
| outputs=gr.Textbox(label="Resposta"), | |
| title="Ene/Miku Assistente", | |
| description="Sua assistente virtual estética e útil, estilo Ene/Miku.", | |
| theme="default" | |
| ) | |
| app.launch() | |