Spaces:
Running
on
Zero
Running
on
Zero
lzyhha
commited on
Commit
Β·
cfabad7
1
Parent(s):
ca2a7fd
update diffusers model
Browse files
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.
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
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)]   [[Project Page](https://visualcloze.github.io/)]   [[Github](https://github.com/lzyhha/VisualCloze)]   [[π€ 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)]   [[π€ Model Card (<strong><span style="color:hotpink">LoRA</span></strong>)](https://huggingface.co/VisualCloze/VisualCloze/)]
|
89 |
+
|
90 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
""")
|
92 |
|
93 |
gr.Markdown(GUIDANCE)
|