Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
|
4 |
-
def
|
5 |
-
return "
|
6 |
|
7 |
|
8 |
DESCRIPTION = """
|
@@ -23,7 +23,7 @@ If you want to support my work consider clicking on the heart react button ❤
|
|
23 |
|
24 |
|
25 |
demo = gr.ChatInterface(
|
26 |
-
fn=
|
27 |
chatbot=gr.Chatbot(
|
28 |
),
|
29 |
description=DESCRIPTION,
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
|
4 |
+
def echo(message, history):
|
5 |
+
return message["text"]
|
6 |
|
7 |
|
8 |
DESCRIPTION = """
|
|
|
23 |
|
24 |
|
25 |
demo = gr.ChatInterface(
|
26 |
+
fn=echo,
|
27 |
chatbot=gr.Chatbot(
|
28 |
),
|
29 |
description=DESCRIPTION,
|