Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -378,7 +378,7 @@ def update_inspiration():
|
|
| 378 |
|
| 379 |
# Gradio Interface
|
| 380 |
|
| 381 |
-
with gr.Blocks(theme=gr.themes.Soft(secondary_hue="green"),
|
| 382 |
css="footer {visibility: hidden;} #login {display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; border: 1px solid #ccc; border-radius: 5px; background-color: #f0f0f0; width: 300px; margin: 15vh auto;}.message-row.svelte-1x5p6hu img{margin:0px !important;}.avatar-container.svelte-1x5p6hu:not(.thumbnail-item) img{padding: 0px !important;}") as app:
|
| 383 |
# Login block with persona selection.
|
| 384 |
with gr.Column(visible=True, min_width=400, elem_id="login") as input_block:
|
|
@@ -462,4 +462,4 @@ with gr.Blocks(theme=gr.themes.Soft(secondary_hue="green"),
|
|
| 462 |
outputs=[history_dropdown, state, input_block, output_container, sticky_pad]
|
| 463 |
)
|
| 464 |
|
| 465 |
-
app.launch(
|
|
|
|
| 378 |
|
| 379 |
# Gradio Interface
|
| 380 |
|
| 381 |
+
with gr.Blocks(theme=gr.themes.Soft(secondary_hue="green"),fill_width=True,fill_height=True,
|
| 382 |
css="footer {visibility: hidden;} #login {display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; border: 1px solid #ccc; border-radius: 5px; background-color: #f0f0f0; width: 300px; margin: 15vh auto;}.message-row.svelte-1x5p6hu img{margin:0px !important;}.avatar-container.svelte-1x5p6hu:not(.thumbnail-item) img{padding: 0px !important;}") as app:
|
| 383 |
# Login block with persona selection.
|
| 384 |
with gr.Column(visible=True, min_width=400, elem_id="login") as input_block:
|
|
|
|
| 462 |
outputs=[history_dropdown, state, input_block, output_container, sticky_pad]
|
| 463 |
)
|
| 464 |
|
| 465 |
+
app.launch()
|