Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,6 +8,9 @@ def yes_no(message, history):
|
|
| 8 |
responses = ["Yes", "No"]
|
| 9 |
return random.choice(responses)
|
| 10 |
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
-
chatbot = gr.ChatInterface(yes_no, type="messages", theme="
|
| 13 |
chatbot.launch()
|
|
|
|
| 8 |
responses = ["Yes", "No"]
|
| 9 |
return random.choice(responses)
|
| 10 |
|
| 11 |
+
def yes_no(message, history):
|
| 12 |
+
responses = ["Yes", "No"]
|
| 13 |
+
return random.choice(responses)
|
| 14 |
|
| 15 |
+
chatbot = gr.ChatInterface(yes_no, type="messages", theme=gr.themes.Ocean(), title="The Perfect Chatbot")
|
| 16 |
chatbot.launch()
|