Spaces:
Running
on
Zero
Running
on
Zero
fix bug2
Browse files- __pycache__/app.cpython-37.pyc +0 -0
- app.py +6 -3
__pycache__/app.cpython-37.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-37.pyc and b/__pycache__/app.cpython-37.pyc differ
|
|
|
app.py
CHANGED
|
@@ -278,7 +278,8 @@ with gr.Blocks(title="Z-Image-Turbo Demo", css=CUSTOM_CSS, analytics_enabled=Fal
|
|
| 278 |
<h1>Z‑Image Turbo Studio</h1>
|
| 279 |
<p>Draft up to twelve stylized candidates in one pass. Neo‑noir gradients, glass panels, and crisp typography keep the tooling out of your way while you explore ideas.</p>
|
| 280 |
</div>
|
| 281 |
-
"""
|
|
|
|
| 282 |
)
|
| 283 |
|
| 284 |
with gr.Row():
|
|
@@ -348,6 +349,7 @@ with gr.Blocks(title="Z-Image-Turbo Demo", css=CUSTOM_CSS, analytics_enabled=Fal
|
|
| 348 |
randomize_seed = gr.Checkbox(
|
| 349 |
label="Randomize",
|
| 350 |
value=False,
|
|
|
|
| 351 |
)
|
| 352 |
|
| 353 |
generate_btn = gr.Button("🚀 Generate", variant="primary", size="lg")
|
|
@@ -377,9 +379,10 @@ with gr.Blocks(title="Z-Image-Turbo Demo", css=CUSTOM_CSS, analytics_enabled=Fal
|
|
| 377 |
gr.Markdown(
|
| 378 |
"""
|
| 379 |
<div class="footer-note">
|
| 380 |
-
Model: Tongyi-MAI/Z-Image-Turbo (Apache 2.0). Demo by https://z-image-turbo.tech
|
| 381 |
</div>
|
| 382 |
-
"""
|
|
|
|
| 383 |
)
|
| 384 |
|
| 385 |
# Connect the generate button
|
|
|
|
| 278 |
<h1>Z‑Image Turbo Studio</h1>
|
| 279 |
<p>Draft up to twelve stylized candidates in one pass. Neo‑noir gradients, glass panels, and crisp typography keep the tooling out of your way while you explore ideas.</p>
|
| 280 |
</div>
|
| 281 |
+
""",
|
| 282 |
+
sanitize_html=False,
|
| 283 |
)
|
| 284 |
|
| 285 |
with gr.Row():
|
|
|
|
| 349 |
randomize_seed = gr.Checkbox(
|
| 350 |
label="Randomize",
|
| 351 |
value=False,
|
| 352 |
+
interactive=True,
|
| 353 |
)
|
| 354 |
|
| 355 |
generate_btn = gr.Button("🚀 Generate", variant="primary", size="lg")
|
|
|
|
| 379 |
gr.Markdown(
|
| 380 |
"""
|
| 381 |
<div class="footer-note">
|
| 382 |
+
Model: Tongyi-MAI/Z-Image-Turbo (Apache 2.0). Demo by <a href="https://z-image-turbo.tech" target="_blank">https://z-image-turbo.tech</a>
|
| 383 |
</div>
|
| 384 |
+
""",
|
| 385 |
+
sanitize_html=False,
|
| 386 |
)
|
| 387 |
|
| 388 |
# Connect the generate button
|