Spaces:
Running
on
Zero
Running
on
Zero
UI touch-ups (#3)
Browse files- Apply UI touch-ups (8496b6f1735e1e3785ba3501d5c473ffe25fffb3)
Co-authored-by: Apolinário from multimodal AI art <multimodalart@users.noreply.huggingface.co>
app.py
CHANGED
|
@@ -453,7 +453,7 @@ with gr.Blocks(title="Z-Image Demo") as demo:
|
|
| 453 |
|
| 454 |
with gr.Column(scale=1):
|
| 455 |
output_gallery = gr.Gallery(
|
| 456 |
-
label="Generated Images", columns=2, rows=2, height=600, object_fit="contain", format="png"
|
| 457 |
)
|
| 458 |
used_seed = gr.Textbox(label="Seed Used", interactive=False)
|
| 459 |
|
|
@@ -491,5 +491,8 @@ with gr.Blocks(title="Z-Image Demo") as demo:
|
|
| 491 |
outputs=[output_gallery, used_seed],
|
| 492 |
)
|
| 493 |
|
|
|
|
|
|
|
|
|
|
| 494 |
if __name__ == "__main__":
|
| 495 |
-
demo.launch()
|
|
|
|
| 453 |
|
| 454 |
with gr.Column(scale=1):
|
| 455 |
output_gallery = gr.Gallery(
|
| 456 |
+
label="Generated Images", columns=2, rows=2, height=600, object_fit="contain", format="png", interactive=False
|
| 457 |
)
|
| 458 |
used_seed = gr.Textbox(label="Seed Used", interactive=False)
|
| 459 |
|
|
|
|
| 491 |
outputs=[output_gallery, used_seed],
|
| 492 |
)
|
| 493 |
|
| 494 |
+
css='''
|
| 495 |
+
.fillable{max-width: 1230px !important}
|
| 496 |
+
'''
|
| 497 |
if __name__ == "__main__":
|
| 498 |
+
demo.launch(css=css)
|