Spaces:
Runtime error
Runtime error
John Smith
commited on
Commit
·
53e4163
1
Parent(s):
5851e76
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
4 |
-
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def echo(message, history):
|
4 |
+
return message
|
5 |
|
6 |
+
demo = gr.ChatInterface(fn=echo, examples=["hello", "hola", "merhaba"], title="Echo Bot")
|
7 |
+
demo.launch()
|
|