Spaces:
azhan77168
/
Running on Zero

Yw22 commited on
Commit
65c7404
·
1 Parent(s): 263c09c

[fix] fix citation

Browse files
examples/blobctrl/assets/blobctrl_teaser.png CHANGED

Git LFS Details

  • SHA256: a989413a09cf2b2b76293a5982a92c8e4bdd9fa354b465f4254ef2e1aaab833e
  • Pointer size: 133 Bytes
  • Size of remote file: 19.9 MB

Git LFS Details

  • SHA256: 0f016a86030aba8ffcef6ee1e8b72d6a8858f1b68467dea2b0c1cfada8b1ed47
  • Pointer size: 133 Bytes
  • Size of remote file: 19.9 MB
examples/blobctrl/blobctrl_app.py CHANGED
@@ -163,8 +163,8 @@ head= r"""
163
  <h1> BlobCtrl: A Unified and Flexible Framework for Element-level Image Generation and Editing </h1>
164
  <div style="display: flex; justify-content: center; align-items: center; text-align: center;">
165
  <a href='https://liyaowei-stu.github.io/project/BlobCtrl/'><img src='https://img.shields.io/badge/Project_Page-BlobCtrl-green' alt='Project Page'></a>
166
- <a href=''><img src='https://img.shields.io/badge/Paper-Arxiv-blue'></a>
167
- <a href=''><img src='https://img.shields.io/badge/Code-Github-orange'></a>
168
  </div>
169
  </br>
170
  </div>
@@ -173,22 +173,23 @@ head= r"""
173
  descriptions = r"""
174
  Official Gradio Demo for <a href=''><b>BlobCtrl: A Unified and Flexible Framework for Element-level Image Generation and Editing</b></a><br>
175
  🦉 BlobCtrl enables precise, user-friendly element-level visual manipulation. <br>
 
176
  """
177
 
178
 
179
  citation = r"""
180
- If BlobCtrl is helpful, please help to ⭐ the <a href='' target='_blank'>Github Repo</a>. Thanks!
181
- [![GitHub Stars](https://img.shields.io/github/stars/TencentARC/BlobCtrl?style=social)]()
182
  ---
183
  📝 **Citation**
184
  <br>
185
  If our work is useful for your research, please consider citing:
186
  ```bibtex
187
- @misc{li2024brushedit,
188
  title={BlobCtrl: A Unified and Flexible Framework for Element-level Image Generation and Editing},
189
- author={Yaowei Li},
190
  year={2025},
191
- eprint={2502.09477},
192
  archivePrefix={arXiv},
193
  primaryClass={cs.CV}
194
  }
@@ -1546,6 +1547,8 @@ with block as demo:
1546
  with gr.Tab(elem_classes="feedback", label="Edited Preview"):
1547
  edited_result_gallery = gr.Gallery(label='Edited Preview', height=320, elem_id="gallery", show_label=True, interactive=False, preview=True)
1548
 
 
 
1549
  with gr.Row():
1550
  with gr.Group():
1551
  resize_blob_slider_maintain_aspect_ratio = gr.Slider(label="Resize Blob (Maintain Aspect Ratio)", minimum=0.1, maximum=2, step=0.05, value=1)
 
163
  <h1> BlobCtrl: A Unified and Flexible Framework for Element-level Image Generation and Editing </h1>
164
  <div style="display: flex; justify-content: center; align-items: center; text-align: center;">
165
  <a href='https://liyaowei-stu.github.io/project/BlobCtrl/'><img src='https://img.shields.io/badge/Project_Page-BlobCtrl-green' alt='Project Page'></a>
166
+ <a href='http://arxiv.org/abs/2503.13434'><img src='https://img.shields.io/badge/Paper-Arxiv-blue'></a>
167
+ <a href='https://github.com/TencentARC/BlobCtrl'><img src='https://img.shields.io/badge/Code-Github-orange'></a>
168
  </div>
169
  </br>
170
  </div>
 
173
  descriptions = r"""
174
  Official Gradio Demo for <a href=''><b>BlobCtrl: A Unified and Flexible Framework for Element-level Image Generation and Editing</b></a><br>
175
  🦉 BlobCtrl enables precise, user-friendly element-level visual manipulation. <br>
176
+ Main Features: Element-level Add/Remove/Move/Replace/Enlarge/Shrink.
177
  """
178
 
179
 
180
  citation = r"""
181
+ If BlobCtrl is helpful, please help to ⭐ the <a href='https://github.com/TencentARC/BlobCtrl' target='_blank'>Github Repo</a>. Thanks!
182
+ [![GitHub Stars](https://img.shields.io/github/stars/TencentARC/BlobCtrl?style=social)](https://github.com/TencentARC/BlobCtrl)
183
  ---
184
  📝 **Citation**
185
  <br>
186
  If our work is useful for your research, please consider citing:
187
  ```bibtex
188
+ @misc{li2025blobctrl,
189
  title={BlobCtrl: A Unified and Flexible Framework for Element-level Image Generation and Editing},
190
+ author={Yaowei Li, Lingen Li, Zhaoyang Zhang, Xiaoyu Li, Guangzhi Wang, Hongxiang Li, Xiaodong Cun, Ying Shan, Yuexian Zou},
191
  year={2025},
192
+ eprint={2503.13434},
193
  archivePrefix={arXiv},
194
  primaryClass={cs.CV}
195
  }
 
1547
  with gr.Tab(elem_classes="feedback", label="Edited Preview"):
1548
  edited_result_gallery = gr.Gallery(label='Edited Preview', height=320, elem_id="gallery", show_label=True, interactive=False, preview=True)
1549
 
1550
+
1551
+ gr.Markdown("### Click to adjust the target blob size 👇", show_label=False)
1552
  with gr.Row():
1553
  with gr.Group():
1554
  resize_blob_slider_maintain_aspect_ratio = gr.Slider(label="Resize Blob (Maintain Aspect Ratio)", minimum=0.1, maximum=2, step=0.05, value=1)