Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,5 +8,10 @@ def echo(message,history):
|
|
| 8 |
def random_response(message,history):
|
| 9 |
return random.choice(["yes","no"])
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
chatbot.launch()
|
|
|
|
| 8 |
def random_response(message,history):
|
| 9 |
return random.choice(["yes","no"])
|
| 10 |
|
| 11 |
+
def eightball(message,history):
|
| 12 |
+
list=["yessir!","nah uh diva","aw heck no", "YUPPPP"]
|
| 13 |
+
output=random.choice(list)
|
| 14 |
+
return output
|
| 15 |
+
|
| 16 |
+
chatbot = gr.ChatInterface(eightball, type='messages')
|
| 17 |
chatbot.launch()
|