Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -186,13 +186,13 @@ def create_demo(model_name: str, device: str = "cuda:0" if torch.cuda.is_availab
|
|
186 |
article = r"""
|
187 |
If our work is helpful, please help to ⭐ the <a href='https://github.com/wangjiangshan0725/RF-Solver-Edit' target='_blank'>Github Repo</a>. Thanks!
|
188 |
[![GitHub Stars](https://img.shields.io/github/stars/wangjiangshan0725/RF-Solver-Edit?style=social)](https://github.com/wangjiangshan0725/RF-Solver-Edit)
|
189 |
-
---
|
190 |
"""
|
191 |
with gr.Blocks() as demo:
|
192 |
# gr.Markdown(f"# Official Demo for Taming Rectified Flow for Inversion and Editing")
|
193 |
|
194 |
gr.Markdown(title)
|
195 |
gr.Markdown(description)
|
|
|
196 |
|
197 |
with gr.Row():
|
198 |
with gr.Column():
|
@@ -234,7 +234,6 @@ def create_demo(model_name: str, device: str = "cuda:0" if torch.cuda.is_availab
|
|
234 |
inputs=[init_image, source_prompt, target_prompt, num_steps, inject_step, guidance],
|
235 |
outputs=[output_image]
|
236 |
)
|
237 |
-
gr.Markdown(article)
|
238 |
|
239 |
|
240 |
return demo
|
|
|
186 |
article = r"""
|
187 |
If our work is helpful, please help to ⭐ the <a href='https://github.com/wangjiangshan0725/RF-Solver-Edit' target='_blank'>Github Repo</a>. Thanks!
|
188 |
[![GitHub Stars](https://img.shields.io/github/stars/wangjiangshan0725/RF-Solver-Edit?style=social)](https://github.com/wangjiangshan0725/RF-Solver-Edit)
|
|
|
189 |
"""
|
190 |
with gr.Blocks() as demo:
|
191 |
# gr.Markdown(f"# Official Demo for Taming Rectified Flow for Inversion and Editing")
|
192 |
|
193 |
gr.Markdown(title)
|
194 |
gr.Markdown(description)
|
195 |
+
gr.Markdown(article)
|
196 |
|
197 |
with gr.Row():
|
198 |
with gr.Column():
|
|
|
234 |
inputs=[init_image, source_prompt, target_prompt, num_steps, inject_step, guidance],
|
235 |
outputs=[output_image]
|
236 |
)
|
|
|
237 |
|
238 |
|
239 |
return demo
|