Spaces:
Runtime error
Runtime error
Changes stuff
Browse files
app.py
CHANGED
|
@@ -2,15 +2,13 @@ import gradio as gr
|
|
| 2 |
import random
|
| 3 |
|
| 4 |
def random_message(message, history):
|
| 5 |
-
choices = ["
|
| 6 |
|
| 7 |
randomMessage = random.choice(choices)
|
| 8 |
|
| 9 |
return randomMessage
|
| 10 |
|
| 11 |
-
gr.themes.Soft()
|
| 12 |
-
|
| 13 |
-
chatbot = gr.ChatInterface(random_message, type = "messages", title = "ChatBot for KWK")
|
| 14 |
|
| 15 |
chatbot.launch()
|
| 16 |
|
|
|
|
| 2 |
import random
|
| 3 |
|
| 4 |
def random_message(message, history):
|
| 5 |
+
choices = ["Yes", "No", "Try Again Later.", "Of course!", "Bruh.", "Wow.", "I don't know...", "... You're weird", "Obviously..?", "Duh.", "Sure", "I don't think so ha."]
|
| 6 |
|
| 7 |
randomMessage = random.choice(choices)
|
| 8 |
|
| 9 |
return randomMessage
|
| 10 |
|
| 11 |
+
chatbot = gr.ChatInterface(random_message, type = "messages", title = "Brutal 8Ball Fortune Teller for KWK", theme = gr.themes.Soft())
|
|
|
|
|
|
|
| 12 |
|
| 13 |
chatbot.launch()
|
| 14 |
|