Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ def echo(message, history):
|
|
| 5 |
return(message)
|
| 6 |
|
| 7 |
def yes_no(message,history):
|
| 8 |
-
responses=["yes","no"]
|
| 9 |
return random.choice(responses)
|
| 10 |
|
| 11 |
chatbot = gr.ChatInterface(yes_no,type="messages",title="The Best cahtbot Ever",description="This bot will only give you perfect answer")
|
|
|
|
| 5 |
return(message)
|
| 6 |
|
| 7 |
def yes_no(message,history):
|
| 8 |
+
responses=["yes","no","thou shall die","bleh me no magic","magic 8 ball says you should blahhhh"]
|
| 9 |
return random.choice(responses)
|
| 10 |
|
| 11 |
chatbot = gr.ChatInterface(yes_no,type="messages",title="The Best cahtbot Ever",description="This bot will only give you perfect answer")
|