Spaces:
Running
on
Zero
Running
on
Zero
parokshsaxena
commited on
Commit
β’
ba9bfc4
1
Parent(s):
2ea463e
increase size
Browse files
app.py
CHANGED
@@ -121,10 +121,10 @@ pipe = TryonPipeline.from_pretrained(
|
|
121 |
)
|
122 |
pipe.unet_encoder = UNet_Encoder
|
123 |
|
124 |
-
WIDTH =
|
125 |
-
HEIGHT =
|
126 |
-
POSE_WIDTH = int(WIDTH/
|
127 |
-
POSE_HEIGHT = int(HEIGHT/
|
128 |
|
129 |
@spaces.GPU
|
130 |
def start_tryon(dict,garm_img,garment_des,is_checked,is_checked_crop,denoise_steps,seed):
|
|
|
121 |
)
|
122 |
pipe.unet_encoder = UNet_Encoder
|
123 |
|
124 |
+
WIDTH = 4160 # 768
|
125 |
+
HEIGHT = 6240 # 1024
|
126 |
+
POSE_WIDTH = int(WIDTH/8) # int(WIDTH/2)
|
127 |
+
POSE_HEIGHT = int(HEIGHT/8) #int(HEIGHT/2)
|
128 |
|
129 |
@spaces.GPU
|
130 |
def start_tryon(dict,garm_img,garment_des,is_checked,is_checked_crop,denoise_steps,seed):
|