Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,27 +13,11 @@ print("Hello World!")
|
|
| 13 |
chatbot = gr.ChatInterface(magic_8_ball, title = "Magic 8 Ball", description = "Let's play magic 8 ball!", type = "messages")
|
| 14 |
#defining my chatbot so users can interact and see their conversation history and send new messages!
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
)
|
| 21 |
-
|
| 22 |
-
background_fill_secondary='*neutral_400',
|
| 23 |
-
background_fill_secondary_dark='*secondary_500',
|
| 24 |
-
border_color_accent='*secondary_400',
|
| 25 |
-
border_color_accent_dark='*secondary_800',
|
| 26 |
-
color_accent='*secondary_300',
|
| 27 |
-
color_accent_soft='*secondary_500',
|
| 28 |
-
color_accent_soft_dark='*secondary_400',
|
| 29 |
-
button_primary_background_fill='*secondary_500',
|
| 30 |
-
button_primary_background_fill_dark='*secondary_600'
|
| 31 |
-
)) as demo:
|
| 32 |
-
chatbot = gr.ChatInterface(
|
| 33 |
-
fn=magic_8_ball,
|
| 34 |
-
title="Magic 8 Ball",
|
| 35 |
-
description="Let's play magic 8 ball!",
|
| 36 |
-
type="messages"
|
| 37 |
-
)
|
| 38 |
|
| 39 |
chatbot.launch()
|
|
|
|
| 13 |
chatbot = gr.ChatInterface(magic_8_ball, title = "Magic 8 Ball", description = "Let's play magic 8 ball!", type = "messages")
|
| 14 |
#defining my chatbot so users can interact and see their conversation history and send new messages!
|
| 15 |
|
| 16 |
+
|
| 17 |
+
theme = gr.themes.Soft(
|
| 18 |
+
primary_hue="purple",
|
| 19 |
+
secondary_hue="fuchsia",
|
| 20 |
+
)
|
| 21 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
chatbot.launch()
|