Update app.py
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
| 89 |
value=1024,
|
| 90 |
step=64,
|
| 91 |
label="Height",
|
| 92 |
-
info="
|
| 93 |
)
|
| 94 |
width = gr.Slider(
|
| 95 |
minimum=512,
|
|
@@ -97,7 +97,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
| 97 |
value=1024,
|
| 98 |
step=64,
|
| 99 |
label="Width",
|
| 100 |
-
info="
|
| 101 |
)
|
| 102 |
|
| 103 |
num_inference_steps = gr.Slider(
|
|
@@ -106,7 +106,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
| 106 |
value=9,
|
| 107 |
step=1,
|
| 108 |
label="Inference Steps",
|
| 109 |
-
info="9 steps = 8 DiT
|
| 110 |
)
|
| 111 |
|
| 112 |
with gr.Row():
|
|
@@ -141,7 +141,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
| 141 |
gr.Examples(
|
| 142 |
examples=examples,
|
| 143 |
inputs=[prompt],
|
| 144 |
-
label="
|
| 145 |
examples_per_page=5,
|
| 146 |
)
|
| 147 |
|
|
@@ -168,9 +168,9 @@ with gr.Blocks(fill_height=True) as demo:
|
|
| 168 |
---
|
| 169 |
<div style="text-align: center; opacity: 0.7; font-size: 0.9em; margin-top: 1rem;">
|
| 170 |
<strong>Model:</strong> <a href="https://huggingface.co/Tongyi-MAI/Z-Image-Turbo" target="_blank">Tongyi-MAI/Z-Image-Turbo</a> (Apache 2.0 License) •
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
</div>
|
| 175 |
""",
|
| 176 |
elem_classes="footer-text"
|
|
|
|
| 89 |
value=1024,
|
| 90 |
step=64,
|
| 91 |
label="Height",
|
| 92 |
+
info="Pixels"
|
| 93 |
)
|
| 94 |
width = gr.Slider(
|
| 95 |
minimum=512,
|
|
|
|
| 97 |
value=1024,
|
| 98 |
step=64,
|
| 99 |
label="Width",
|
| 100 |
+
info="Pixels"
|
| 101 |
)
|
| 102 |
|
| 103 |
num_inference_steps = gr.Slider(
|
|
|
|
| 106 |
value=9,
|
| 107 |
step=1,
|
| 108 |
label="Inference Steps",
|
| 109 |
+
info="9 steps = 8 DiT (recommended)"
|
| 110 |
)
|
| 111 |
|
| 112 |
with gr.Row():
|
|
|
|
| 141 |
gr.Examples(
|
| 142 |
examples=examples,
|
| 143 |
inputs=[prompt],
|
| 144 |
+
label=" ",
|
| 145 |
examples_per_page=5,
|
| 146 |
)
|
| 147 |
|
|
|
|
| 168 |
---
|
| 169 |
<div style="text-align: center; opacity: 0.7; font-size: 0.9em; margin-top: 1rem;">
|
| 170 |
<strong>Model:</strong> <a href="https://huggingface.co/Tongyi-MAI/Z-Image-Turbo" target="_blank">Tongyi-MAI/Z-Image-Turbo</a> (Apache 2.0 License) •
|
| 171 |
+
|
| 172 |
+
|
| 173 |
+
|
| 174 |
</div>
|
| 175 |
""",
|
| 176 |
elem_classes="footer-text"
|