Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,14 @@ with gr.Blocks(theme = gr.themes.Soft(
|
|
| 30 |
color_accent_soft_dark='*secondary_400',
|
| 31 |
button_primary_background_fill='*secondary_500',
|
| 32 |
button_primary_background_fill_dark='*secondary_600'
|
| 33 |
-
))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
|
| 36 |
chatbot.launch()
|
|
|
|
| 30 |
color_accent_soft_dark='*secondary_400',
|
| 31 |
button_primary_background_fill='*secondary_500',
|
| 32 |
button_primary_background_fill_dark='*secondary_600'
|
| 33 |
+
))as demo:
|
| 34 |
+
|
| 35 |
+
chatbot = gr.ChatInterface(
|
| 36 |
+
fn=magic_8_ball,
|
| 37 |
+
title="Magic 8 Ball",
|
| 38 |
+
description="Let's play magic 8 ball!",
|
| 39 |
+
type="messages"
|
| 40 |
+
)
|
| 41 |
|
| 42 |
|
| 43 |
chatbot.launch()
|