Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,6 +28,12 @@ with gr.Blocks(theme=gr.themes.purple(
|
|
| 28 |
color_accent_soft_dark='*secondary_400',
|
| 29 |
button_primary_background_fill='*secondary_500',
|
| 30 |
button_primary_background_fill_dark='*secondary_600'
|
| 31 |
-
))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
chatbot.launch()
|
|
|
|
| 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()
|