Spaces:
Sleeping
Sleeping
Remove spaces import
Browse files
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
import spaces
|
| 2 |
|
| 3 |
# For fast API
|
| 4 |
from fastapi import FastAPI, File, UploadFile
|
|
@@ -133,7 +133,7 @@ pipe = TryonPipeline.from_pretrained(
|
|
| 133 |
)
|
| 134 |
pipe.unet_encoder = UNet_Encoder
|
| 135 |
|
| 136 |
-
@spaces.GPU
|
| 137 |
# For simple API
|
| 138 |
def quick_tryon(humanTarget_img,garm_img,garment_prompt):
|
| 139 |
denoise_steps = 30
|
|
|
|
| 1 |
+
# import spaces
|
| 2 |
|
| 3 |
# For fast API
|
| 4 |
from fastapi import FastAPI, File, UploadFile
|
|
|
|
| 133 |
)
|
| 134 |
pipe.unet_encoder = UNet_Encoder
|
| 135 |
|
| 136 |
+
# @spaces.GPU
|
| 137 |
# For simple API
|
| 138 |
def quick_tryon(humanTarget_img,garm_img,garment_prompt):
|
| 139 |
denoise_steps = 30
|