Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| def chat(p, qid, uid): | |
| return ["text", f"我听到你刚说:{p}"] | |
| iface = gr.Interface(fn=chat, | |
| inputs=["text", "text", "text"], | |
| outputs=["text", "text"]) | |
| iface.launch() |