Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
| 3 |
|
| 4 |
-
|
| 5 |
|
| 6 |
def magicEight(message, history):
|
| 7 |
|
|
@@ -9,8 +9,6 @@ def magicEight(message, history):
|
|
| 9 |
message = random.choice(answers)
|
| 10 |
return message
|
| 11 |
|
| 12 |
-
print("Hello, world!")
|
| 13 |
-
|
| 14 |
chatbot = gr.ChatInterface(magicEight, type="messages")
|
| 15 |
|
| 16 |
chatbot.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
| 3 |
|
| 4 |
+
print("✨ Welcome to Magic 🎱 Ball. ✨ Ask me any question... ")
|
| 5 |
|
| 6 |
def magicEight(message, history):
|
| 7 |
|
|
|
|
| 9 |
message = random.choice(answers)
|
| 10 |
return message
|
| 11 |
|
|
|
|
|
|
|
| 12 |
chatbot = gr.ChatInterface(magicEight, type="messages")
|
| 13 |
|
| 14 |
chatbot.launch()
|