asrafnoor commited on
Commit
ac1ea6b
1 Parent(s): e50f50e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def echo(message, history):
4
+ return message["text"]
5
+
6
+ demo = gr.ChatInterface(fn=echo, examples=[{"text": "hello"}, {"text": "hola"}, {"text": "merhaba"}], title="Echo Bot", multimodal=True)
7
+ demo.launch()