Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,13 +1,12 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
|
| 4 |
def echo(message, history):
|
| 5 |
return message["text"]
|
| 6 |
|
| 7 |
-
|
| 8 |
demo = gr.ChatInterface(
|
| 9 |
fn=echo,
|
| 10 |
title="Echo Bot",
|
| 11 |
multimodal=True,
|
| 12 |
)
|
| 13 |
-
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
|
|
|
| 3 |
def echo(message, history):
|
| 4 |
return message["text"]
|
| 5 |
|
|
|
|
| 6 |
demo = gr.ChatInterface(
|
| 7 |
fn=echo,
|
| 8 |
title="Echo Bot",
|
| 9 |
multimodal=True,
|
| 10 |
)
|
| 11 |
+
|
| 12 |
+
demo.launch()
|