Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
| 3 |
|
| 4 |
-
def
|
| 5 |
responses = ["Yes", "No"]
|
| 6 |
return random.choice(responses)
|
| 7 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
| 3 |
|
| 4 |
+
def respond_yes_no_randomly(message,history): #function to return the history of messages sent
|
| 5 |
responses = ["Yes", "No"]
|
| 6 |
return random.choice(responses)
|
| 7 |
|