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