Spaces:
Sleeping
Sleeping
Update app.py from anycoder
Browse files
app.py
CHANGED
|
@@ -383,7 +383,7 @@ with gr.Blocks() as demo:
|
|
| 383 |
""")
|
| 384 |
|
| 385 |
|
| 386 |
-
# Launch with modern theme
|
| 387 |
demo.launch(
|
| 388 |
theme=gr.themes.Soft(
|
| 389 |
primary_hue="blue",
|
|
@@ -397,8 +397,6 @@ demo.launch(
|
|
| 397 |
button_primary_background_fill_hover="*primary_700",
|
| 398 |
block_title_text_weight="600",
|
| 399 |
),
|
| 400 |
-
title="Z-Image Turbo LoRA Generator",
|
| 401 |
-
description="Convert images to Z-Image Turbo-compatible LoRA models",
|
| 402 |
footer_links=[
|
| 403 |
{"label": "Built with anycoder", "url": "https://huggingface.co/spaces/akhaliq/anycoder"},
|
| 404 |
{"label": "Gradio", "url": "https://gradio.app"},
|
|
|
|
| 383 |
""")
|
| 384 |
|
| 385 |
|
| 386 |
+
# Launch with modern theme - Gradio 6 syntax
|
| 387 |
demo.launch(
|
| 388 |
theme=gr.themes.Soft(
|
| 389 |
primary_hue="blue",
|
|
|
|
| 397 |
button_primary_background_fill_hover="*primary_700",
|
| 398 |
block_title_text_weight="600",
|
| 399 |
),
|
|
|
|
|
|
|
| 400 |
footer_links=[
|
| 401 |
{"label": "Built with anycoder", "url": "https://huggingface.co/spaces/akhaliq/anycoder"},
|
| 402 |
{"label": "Gradio", "url": "https://gradio.app"},
|