Spaces:
No application file
No application file
define echo function and set up chat interface
Browse files- create app.py +7 -0
create app.py
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
def echo(message, history):
|
| 4 |
+
return
|
| 5 |
+
|
| 6 |
+
chatbot = gr.ChatInterface(echo)
|
| 7 |
+
chatbot.launch()
|