Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
import random
|
| 3 |
|
| 4 |
def echo(message, history):
|
| 5 |
choices = ["yes","no"]
|
| 6 |
-
|
| 7 |
return message
|
| 8 |
|
| 9 |
chatbot = gr.ChatInterface(echo, type = "messages")
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import random as rd
|
| 3 |
|
| 4 |
def echo(message, history):
|
| 5 |
choices = ["yes","no"]
|
| 6 |
+
rd.choices()
|
| 7 |
return message
|
| 8 |
|
| 9 |
chatbot = gr.ChatInterface(echo, type = "messages")
|