zhangyang-0123 commited on
Commit
30476a5
1 Parent(s): 90d3b43
Files changed (1) hide show
  1. app.py +11 -6
app.py CHANGED
@@ -86,13 +86,16 @@ def on_generate_click(prompt, seed, steps, pipe, pruned_pipe):
86
 
87
 
88
  header = """
89
- # 🌍 OminiControl / FLUX
90
 
91
- <div style="text-align: center; display: flex; justify-content: left; gap: 5px;">
92
- <a href="https://arxiv.org/abs/2411.15098"><img src="https://img.shields.io/badge/ariXv-Paper-A42C25.svg" alt="arXiv"></a>
93
- <a href="https://huggingface.co/Yuanshi/OminiControl"><img src="https://img.shields.io/badge/🤗-Model-ffbd45.svg" alt="HuggingFace"></a>
94
- <a href="https://github.com/Yuanshi9815/OminiControl"><img src="https://img.shields.io/badge/GitHub-Code-blue.svg?logo=github&" alt="GitHub"></a>
95
- </div>
 
 
 
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
  """