Elfe's picture
Duplicate from Elfe/hackathon_chatbot_simple
317f259
raw
history blame
No virus
241 Bytes
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()