lzyhha commited on
Commit
cfabad7
Β·
1 Parent(s): ca2a7fd

update diffusers model

Browse files
Files changed (1) hide show
  1. app.py +14 -18
app.py CHANGED
@@ -19,6 +19,8 @@ default_steps = 30
19
 
20
  GUIDANCE = """
21
 
 
 
22
  ## πŸ“‹ Quick Start Guide:
23
  1. Adjust **Number of In-context Examples**, 0 disables in-context learning.
24
  2. Set **Task Columns**, the number of images involved in a task.
@@ -74,24 +76,18 @@ def create_demo(model):
74
  with gr.Blocks(title="VisualCloze Demo") as demo:
75
  gr.Markdown("# VisualCloze: A Universal Image Generation Framework via Visual In-Context Learning")
76
 
77
- gr.HTML("""
78
- <div style="display:flex;column-gap:4px;">
79
- <a href="https://github.com/lzyhha/VisualCloze">
80
- <img src='https://img.shields.io/badge/GitHub-Repo-blue'>
81
- </a>
82
- <a href="https://visualcloze.github.io/">
83
- <img src='https://img.shields.io/badge/Project-Website-green'>
84
- </a>
85
- <a href="https://arxiv.org/abs/2504.07960">
86
- <img src='https://img.shields.io/badge/ArXiv-Paper-red'>
87
- </a>
88
- <a href="https://huggingface.co/VisualCloze/VisualCloze">
89
- <img src='https://img.shields.io/badge/VisualCloze%20checkpoint-HF%20Model-green?logoColor=violet&label=%F0%9F%A4%97%20Checkpoint'>
90
- </a>
91
- <a href="https://huggingface.co/datasets/VisualCloze/Graph200K">
92
- <img src='https://img.shields.io/badge/VisualCloze%20datasets-HF%20Dataset-6B88E3?logoColor=violet&label=%F0%9F%A4%97%20Graph200k%20Dataset'>
93
- </a>
94
- </div>
95
  """)
96
 
97
  gr.Markdown(GUIDANCE)
 
19
 
20
  GUIDANCE = """
21
 
22
+ ### [πŸ’₯ New] πŸ‘‹πŸ‘‹πŸ‘‹ We release the <a href="https://github.com/lzyhha/diffusers/tree/main/src/diffusers/pipelines/visualcloze" target="_blank"><span style="color:rgb(253, 60, 94);"><em><strong>diffusers</strong></em></span></a> implementation that makes it easier to use the model through pipelines. See <a href="https://huggingface.co/VisualCloze/VisualClozePipeline-384" target="_blank">Model Card</a> for details.
23
+
24
  ## πŸ“‹ Quick Start Guide:
25
  1. Adjust **Number of In-context Examples**, 0 disables in-context learning.
26
  2. Set **Task Columns**, the number of images involved in a task.
 
76
  with gr.Blocks(title="VisualCloze Demo") as demo:
77
  gr.Markdown("# VisualCloze: A Universal Image Generation Framework via Visual In-Context Learning")
78
 
79
+ gr.Markdown("""
80
+ <div align="center">
81
+
82
+ [[Paper](https://arxiv.org/abs/2504.07960)] &emsp; [[Project Page](https://visualcloze.github.io/)] &emsp; [[Github](https://github.com/lzyhha/VisualCloze)] &emsp; [[πŸ€— Dataset Card](https://huggingface.co/datasets/VisualCloze/Graph200K)]
83
+
84
+ </div>
85
+
86
+ <div align="center">
87
+
88
+ [[πŸ€— Model Card (<strong><span style="color:hotpink">Diffusers</span></strong>)](https://huggingface.co/VisualCloze/VisualClozePipeline-384)] &emsp; [[πŸ€— Model Card (<strong><span style="color:hotpink">LoRA</span></strong>)](https://huggingface.co/VisualCloze/VisualCloze/)]
89
+
90
+ </div>
 
 
 
 
 
 
91
  """)
92
 
93
  gr.Markdown(GUIDANCE)