Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -187,7 +187,10 @@ def create_demo(model_name: str, device: str = "cuda:0" if torch.cuda.is_availab
|
|
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 |
# gr.Markdown(f"# Official Demo for Taming Rectified Flow for Inversion and Editing")
|
192 |
|
193 |
gr.Markdown(title)
|
|
|
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 |
+
css = '''
|
191 |
+
.gradio-container {width: 85% !important}
|
192 |
+
'''
|
193 |
+
with gr.Blocks(css=css) as demo:
|
194 |
# gr.Markdown(f"# Official Demo for Taming Rectified Flow for Inversion and Editing")
|
195 |
|
196 |
gr.Markdown(title)
|