Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
|
|
|
| 3 |
def echo(message, history):
|
| 4 |
return(message)
|
| 5 |
|
|
@@ -9,5 +10,6 @@ def yes_no(message, history):
|
|
| 9 |
|
| 10 |
print("Hello World!")
|
| 11 |
|
| 12 |
-
chatbot = gr.ChatInterface(yes_no, type="messages")
|
|
|
|
| 13 |
chatbot.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
| 3 |
+
|
| 4 |
def echo(message, history):
|
| 5 |
return(message)
|
| 6 |
|
|
|
|
| 10 |
|
| 11 |
print("Hello World!")
|
| 12 |
|
| 13 |
+
chatbot = gr.ChatInterface(yes_no, type ="messages")
|
| 14 |
+
|
| 15 |
chatbot.launch()
|