Spaces:
Running
on
Zero
Running
on
Zero
Fix footer alignment - center properly
Browse files
app.py
CHANGED
|
@@ -424,10 +424,9 @@ with gr.Blocks(title="Z-Image Generation & Transformation Demo", css=css) as dem
|
|
| 424 |
trans_share_btn.click(fn=upload_to_hf_cdn, inputs=[trans_output], outputs=[trans_share_link])
|
| 425 |
|
| 426 |
# Footer
|
| 427 |
-
gr.
|
| 428 |
"""
|
| 429 |
-
|
| 430 |
-
<div style="text-align: center; opacity: 0.7; font-size: 0.9em; margin-top: 1rem;">
|
| 431 |
<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) •
|
| 432 |
<strong>Demo, Design and Improvements by:</strong> <a href="https://huggingface.co/lulavc" target="_blank">@lulavc</a>
|
| 433 |
</div>
|
|
|
|
| 424 |
trans_share_btn.click(fn=upload_to_hf_cdn, inputs=[trans_output], outputs=[trans_share_link])
|
| 425 |
|
| 426 |
# Footer
|
| 427 |
+
gr.HTML(
|
| 428 |
"""
|
| 429 |
+
<div style="text-align: center; width: 100%; opacity: 0.7; font-size: 0.9em; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #e5e7eb;">
|
|
|
|
| 430 |
<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) •
|
| 431 |
<strong>Demo, Design and Improvements by:</strong> <a href="https://huggingface.co/lulavc" target="_blank">@lulavc</a>
|
| 432 |
</div>
|