Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,12 +5,11 @@ def echo(message, history):
|
|
5 |
return(message)
|
6 |
|
7 |
def yes_no(messsage, history):
|
8 |
-
responses = ["Yes", "No"]
|
9 |
return random.choice(responses)
|
10 |
|
11 |
-
|
12 |
print("Hello, World")
|
13 |
|
14 |
-
chatbot = gr.ChatInterface(yes_no, type="messages", title="8 ball", description="Ask it questions and it well tell you if it will happen or not",
|
15 |
|
16 |
chatbot.launch()
|
|
|
5 |
return(message)
|
6 |
|
7 |
def yes_no(messsage, history):
|
8 |
+
responses = ["Yes", "No", "Mabye", "Defently", "Ask me later", "Absolutely not"]
|
9 |
return random.choice(responses)
|
10 |
|
|
|
11 |
print("Hello, World")
|
12 |
|
13 |
+
chatbot = gr.ChatInterface(yes_no, type="messages", title="8 ball", description="Ask it questions and it well tell you if it will happen or not", theme="XKCD"")
|
14 |
|
15 |
chatbot.launch()
|