Spaces:
Running
on
Zero
Running
on
Zero
zhangyang-0123
commited on
Commit
•
30476a5
1
Parent(s):
90d3b43
update
Browse files
app.py
CHANGED
@@ -86,13 +86,16 @@ def on_generate_click(prompt, seed, steps, pipe, pruned_pipe):
|
|
86 |
|
87 |
|
88 |
header = """
|
89 |
-
#
|
90 |
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
|
|
|
|
|
|
96 |
"""
|
97 |
|
98 |
|
@@ -100,6 +103,8 @@ def create_demo():
|
|
100 |
with gr.Blocks() as demo:
|
101 |
with gr.Row():
|
102 |
gr.Markdown(header)
|
|
|
|
|
103 |
with gr.Row():
|
104 |
gr.Markdown(
|
105 |
"""
|
|
|
86 |
|
87 |
|
88 |
header = """
|
89 |
+
# 🌱 Text-to-Image Generation with EcoDiff Pruned Models
|
90 |
|
91 |
+
![Static Badge](https://img.shields.io/badge/ariXv-Paper-A42C25?link=https://arxiv.org/abs/2412.02852)
|
92 |
+
![Static Badge](https://img.shields.io/badge/🤗-Model-ffbd45?link=https://huggingface.co/zhangyang-0123/EcoDiffPrunedModels)
|
93 |
+
![Static Badge](https://img.shields.io/badge/GitHub-Code-blue?logo=github&link=https://github.com/YaNgZhAnG-V5/EcoDiff)
|
94 |
+
"""
|
95 |
+
header_2 = """
|
96 |
+
For ⚡ <b>faster</b> ⚡ DEMO on one model only, please visit
|
97 |
+
![Static Badge](https://img.shields.io/badge/SDXL-fedcba?link=https://huggingface.co/spaces/zhangyang-0123/EcoDiff-SD-XL)
|
98 |
+
![Static Badge](https://img.shields.io/badge/FLUX-fgdfba?link=https://huggingface.co/spaces/zhangyang-0123/EcoDiff-FLUX-Schnell)
|
99 |
"""
|
100 |
|
101 |
|
|
|
103 |
with gr.Blocks() as demo:
|
104 |
with gr.Row():
|
105 |
gr.Markdown(header)
|
106 |
+
with gr.Row():
|
107 |
+
gr.Markdown(header_2)
|
108 |
with gr.Row():
|
109 |
gr.Markdown(
|
110 |
"""
|