Spaces:
Runtime error
Runtime error
fixed yes or no
Browse files
app.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
| 3 |
|
| 4 |
-
def
|
| 5 |
-
|
| 6 |
-
return random.chioce(
|
| 7 |
|
| 8 |
chatbot = gr.ChatInterface(echo)
|
| 9 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
| 3 |
|
| 4 |
+
def random_response (message, history) :
|
| 5 |
+
response_options = ["yes","no"]
|
| 6 |
+
return random.chioce(response_options)
|
| 7 |
|
| 8 |
chatbot = gr.ChatInterface(echo)
|
| 9 |
|