Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,13 +6,13 @@ import gradio as gr
|
|
| 6 |
|
| 7 |
dropdown, js = create_theme_dropdown()
|
| 8 |
|
| 9 |
-
with gr.Blocks(theme='Tonic/
|
| 10 |
with gr.Row().style(equal_height=True):
|
| 11 |
with gr.Column(scale=10):
|
| 12 |
gr.Markdown(
|
| 13 |
"""
|
| 14 |
-
# Theme preview: `
|
| 15 |
-
To use this theme, set `theme='Tonic/
|
| 16 |
"""
|
| 17 |
)
|
| 18 |
with gr.Column(scale=3):
|
|
@@ -119,7 +119,7 @@ with gr.Blocks(theme='Tonic/greenblast') as demo:
|
|
| 119 |
|
| 120 |
with gr.Row():
|
| 121 |
with gr.Column(scale=2):
|
| 122 |
-
chatbot = gr.Chatbot([("Welcome to
|
| 123 |
chat_btn = gr.Button("Add messages")
|
| 124 |
|
| 125 |
def chat(history):
|
|
|
|
| 6 |
|
| 7 |
dropdown, js = create_theme_dropdown()
|
| 8 |
|
| 9 |
+
with gr.Blocks(theme='Tonic/indiansummer') as demo:
|
| 10 |
with gr.Row().style(equal_height=True):
|
| 11 |
with gr.Column(scale=10):
|
| 12 |
gr.Markdown(
|
| 13 |
"""
|
| 14 |
+
# Theme preview: `indiansummer`
|
| 15 |
+
To use this theme, set `theme='Tonic/indiansummer'` in `gr.Blocks()` or `gr.Interface()`.
|
| 16 |
"""
|
| 17 |
)
|
| 18 |
with gr.Column(scale=3):
|
|
|
|
| 119 |
|
| 120 |
with gr.Row():
|
| 121 |
with gr.Column(scale=2):
|
| 122 |
+
chatbot = gr.Chatbot([("Welcome to indiansummer template", "I should check out darkmode!")], label="Chatbot")
|
| 123 |
chat_btn = gr.Button("Add messages")
|
| 124 |
|
| 125 |
def chat(history):
|