Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,9 +5,9 @@ def echo(message, history):
|
|
| 5 |
return(message)
|
| 6 |
|
| 7 |
def yes_no(message,history):
|
| 8 |
-
responses = ["yes
|
| 9 |
return random.choice(responses)
|
| 10 |
|
| 11 |
-
chatbot = gr.ChatInterface(yes_no, type="messages", title = "aditigpt", description = "worlds most accurate chatbot!", theme = "
|
| 12 |
|
| 13 |
chatbot.launch()
|
|
|
|
| 5 |
return(message)
|
| 6 |
|
| 7 |
def yes_no(message,history):
|
| 8 |
+
responses = ["all signs point to yes", "outlook is good", "not likely", "ask again later", "perhaps", "my sources say no", "you may rely on it"]
|
| 9 |
return random.choice(responses)
|
| 10 |
|
| 11 |
+
chatbot = gr.ChatInterface(yes_no, type="messages", title = "aditigpt", description = "worlds most accurate chatbot!", theme = "Taithrah/Minimal")
|
| 12 |
|
| 13 |
chatbot.launch()
|