EModel
Spaces
·
G
alice
/
gradio-demo
♡
Like
7
Running
App
Files
Community
3
⋮
main
gradio-demo
/
app.py
Download
Raw
History
192 Bytes
1
import gradio as gr
2
3
4
def respond(message, history):
5
return generate(message, history)
6
7
demo = gr.ChatInterface(respond, title="gradio-demo")
8
9
if __name__ == "__main__":
10
demo.launch()