Spaces:
Runtime error
Runtime error
Fix: Remove css from gr.Blocks (incompatible with HF Spaces Gradio version)
Browse files
app.py
CHANGED
|
@@ -500,11 +500,7 @@ init_app()
|
|
| 500 |
pipe.transformer.layers._repeated_blocks = ["ZImageTransformerBlock"]
|
| 501 |
spaces.aoti_blocks_load(pipe.transformer.layers, "zerogpu-aoti/Z-Image", variant="fa3")
|
| 502 |
|
| 503 |
-
|
| 504 |
-
.fillable{max-width: 1230px !important}
|
| 505 |
-
"""
|
| 506 |
-
|
| 507 |
-
with gr.Blocks(title="Z-Image Generation MCP", css=css) as demo:
|
| 508 |
gr.Markdown(
|
| 509 |
"""<div align="center">
|
| 510 |
|
|
|
|
| 500 |
pipe.transformer.layers._repeated_blocks = ["ZImageTransformerBlock"]
|
| 501 |
spaces.aoti_blocks_load(pipe.transformer.layers, "zerogpu-aoti/Z-Image", variant="fa3")
|
| 502 |
|
| 503 |
+
with gr.Blocks(title="Z-Image Generation MCP") as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 504 |
gr.Markdown(
|
| 505 |
"""<div align="center">
|
| 506 |
|