Spaces:
Sleeping
Sleeping
added all those parameters
Browse files
app.py
CHANGED
|
@@ -12,5 +12,5 @@ import random
|
|
| 12 |
def eight_ball(message, history):
|
| 13 |
return random.choice(["Yes", "No", "It is looking likely", "If the stars align", "Maybe...", "Cannot confirm or deny", "It is 50/50", "That, I cannot answer"])
|
| 14 |
|
| 15 |
-
chatbot = gr.ChatInterface(eight_ball, type="messages") #defining my chatbot so user can interact
|
| 16 |
chatbot.launch()
|
|
|
|
| 12 |
def eight_ball(message, history):
|
| 13 |
return random.choice(["Yes", "No", "It is looking likely", "If the stars align", "Maybe...", "Cannot confirm or deny", "It is 50/50", "That, I cannot answer"])
|
| 14 |
|
| 15 |
+
chatbot = gr.ChatInterface(title="Cassie's 8s", description="Let my magic 8 ball predict the future! Chatbot interacted with at your own risk", eight_ball, type="messages", submit_btn) #defining my chatbot so user can interact
|
| 16 |
chatbot.launch()
|