Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -179,7 +179,7 @@ def create_demo(model_name: str, device: str = "cuda:0" if torch.cuda.is_availab
|
|
| 179 |
❗️❗️❗️[<b>Important</b>] Editing steps:<br>
|
| 180 |
1️⃣ Upload images you want to edit (The resolution is expected be less than 1360*768, or the memory of GPU may be not enough.) <br>
|
| 181 |
2️⃣ Enter the source prompt, which describes the content of the image you unload. The source prompt is not mandatory; you can also leave it to null. <br>
|
| 182 |
-
3️⃣ Enter the target prompt which describes the content of the
|
| 183 |
4️⃣ Click the <b>Generate</b> button to start editing. <br>
|
| 184 |
5️⃣ We suggest to adjust the value of **feature sharing steps** for better results.<br>
|
| 185 |
"""
|
|
@@ -195,7 +195,7 @@ def create_demo(model_name: str, device: str = "cuda:0" if torch.cuda.is_availab
|
|
| 195 |
|
| 196 |
gr.HTML(title)
|
| 197 |
gr.Markdown(description)
|
| 198 |
-
gr.
|
| 199 |
|
| 200 |
with gr.Row():
|
| 201 |
with gr.Column():
|
|
|
|
| 179 |
❗️❗️❗️[<b>Important</b>] Editing steps:<br>
|
| 180 |
1️⃣ Upload images you want to edit (The resolution is expected be less than 1360*768, or the memory of GPU may be not enough.) <br>
|
| 181 |
2️⃣ Enter the source prompt, which describes the content of the image you unload. The source prompt is not mandatory; you can also leave it to null. <br>
|
| 182 |
+
3️⃣ Enter the target prompt which describes the expected content of the edited image. <br>
|
| 183 |
4️⃣ Click the <b>Generate</b> button to start editing. <br>
|
| 184 |
5️⃣ We suggest to adjust the value of **feature sharing steps** for better results.<br>
|
| 185 |
"""
|
|
|
|
| 195 |
|
| 196 |
gr.HTML(title)
|
| 197 |
gr.Markdown(description)
|
| 198 |
+
gr.HTML(article)
|
| 199 |
|
| 200 |
with gr.Row():
|
| 201 |
with gr.Column():
|