Spaces:
Running
on
Zero
Running
on
Zero
zhangyang-0123
commited on
Commit
•
90418b8
1
Parent(s):
c4cb9b3
update header
Browse files
app.py
CHANGED
@@ -51,15 +51,18 @@ css = """
|
|
51 |
"""
|
52 |
header = """
|
53 |
# 🌱 EcoDiff Pruned SD-XL (20% Pruning Ratio)
|
|
|
54 |
|
|
|
55 |
<div style="text-align: center; display: flex; justify-content: left; gap: 5px;">
|
56 |
-
<a href="https://arxiv.org/abs/2412.02852"><img src="https://img.shields.io/badge/ariXv-Paper-A42C25.svg" alt="arXiv"></a>
|
57 |
-
<a href="https://huggingface.co/zhangyang-0123/EcoDiffPrunedModels"><img src="https://img.shields.io/badge/🤗-Model-ffbd45.svg" alt="HuggingFace"></a>
|
58 |
</div>
|
59 |
"""
|
60 |
|
61 |
with gr.Blocks(css=css) as demo:
|
62 |
gr.Markdown(header)
|
|
|
63 |
with gr.Row():
|
64 |
prompt = gr.Textbox(
|
65 |
label="Prompt",
|
|
|
51 |
"""
|
52 |
header = """
|
53 |
# 🌱 EcoDiff Pruned SD-XL (20% Pruning Ratio)
|
54 |
+
"""
|
55 |
|
56 |
+
header_2 = """
|
57 |
<div style="text-align: center; display: flex; justify-content: left; gap: 5px;">
|
58 |
+
<a href="https://arxiv.org/abs/2412.02852"><img src="https://img.shields.io/badge/ariXv-Paper-A42C25.svg" alt="arXiv"></a>
|
59 |
+
<a href="https://huggingface.co/zhangyang-0123/EcoDiffPrunedModels"><img src="https://img.shields.io/badge/🤗-Model-ffbd45.svg" alt="HuggingFace"></a>
|
60 |
</div>
|
61 |
"""
|
62 |
|
63 |
with gr.Blocks(css=css) as demo:
|
64 |
gr.Markdown(header)
|
65 |
+
gr.HTML(header_2)
|
66 |
with gr.Row():
|
67 |
prompt = gr.Textbox(
|
68 |
label="Prompt",
|