Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -183,7 +183,7 @@ def start_tryon(dict,garm_img,garment_des,is_checked,is_checked_crop,denoise_ste
|
|
| 183 |
with torch.cuda.amp.autocast():
|
| 184 |
with torch.no_grad():
|
| 185 |
prompt = "model is wearing " + garment_des + "Keep hands same, dont change their position"
|
| 186 |
-
negative_prompt = "monochrome, lowres, bad anatomy, worst quality, low quality"
|
| 187 |
with torch.inference_mode():
|
| 188 |
(
|
| 189 |
prompt_embeds,
|
|
@@ -198,7 +198,7 @@ def start_tryon(dict,garm_img,garment_des,is_checked,is_checked_crop,denoise_ste
|
|
| 198 |
)
|
| 199 |
|
| 200 |
prompt = "a photo of " + garment_des + "Keep hands same, dont change their position"
|
| 201 |
-
negative_prompt = "monochrome, lowres, bad anatomy, worst quality, low quality"
|
| 202 |
if not isinstance(prompt, List):
|
| 203 |
prompt = [prompt] * 1
|
| 204 |
if not isinstance(negative_prompt, List):
|
|
|
|
| 183 |
with torch.cuda.amp.autocast():
|
| 184 |
with torch.no_grad():
|
| 185 |
prompt = "model is wearing " + garment_des + "Keep hands same, dont change their position"
|
| 186 |
+
negative_prompt = "monochrome, lowres, bad anatomy, worst quality, low quality, hands position"
|
| 187 |
with torch.inference_mode():
|
| 188 |
(
|
| 189 |
prompt_embeds,
|
|
|
|
| 198 |
)
|
| 199 |
|
| 200 |
prompt = "a photo of " + garment_des + "Keep hands same, dont change their position"
|
| 201 |
+
negative_prompt = "monochrome, lowres, bad anatomy, worst quality, low quality, hands position"
|
| 202 |
if not isinstance(prompt, List):
|
| 203 |
prompt = [prompt] * 1
|
| 204 |
if not isinstance(negative_prompt, List):
|