Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,8 +2,8 @@ import gradio as gr
|
|
| 2 |
import random as rd
|
| 3 |
|
| 4 |
def echo (message, history):
|
| 5 |
-
|
| 6 |
-
random_choice = rd.choice(
|
| 7 |
return random_choice
|
| 8 |
|
| 9 |
chatbot = gr.ChatInterface(echo, type = "messages", title = "Rando Bot")
|
|
|
|
| 2 |
import random as rd
|
| 3 |
|
| 4 |
def echo (message, history):
|
| 5 |
+
eight_ball_answers = ["yes","no","ehhh probably not the best idea","Sure why not!","idk","i seems not","hahahaha... no","yes of course!"]
|
| 6 |
+
random_choice = rd.choice(eight_ball_answers)
|
| 7 |
return random_choice
|
| 8 |
|
| 9 |
chatbot = gr.ChatInterface(echo, type = "messages", title = "Rando Bot")
|