Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def pil_to_binary_mask(pil_image, threshold=0):
|
|
| 43 |
example_path = os.path.join(os.path.dirname(__file__), 'example')
|
| 44 |
|
| 45 |
unet = UNet2DConditionModel.from_pretrained(
|
| 46 |
-
base_path
|
| 47 |
subfolder="unet",
|
| 48 |
torch_dtype=torch.float16,
|
| 49 |
)
|
|
|
|
| 43 |
example_path = os.path.join(os.path.dirname(__file__), 'example')
|
| 44 |
|
| 45 |
unet = UNet2DConditionModel.from_pretrained(
|
| 46 |
+
base_path = 'yisol/IDM-VTON'
|
| 47 |
subfolder="unet",
|
| 48 |
torch_dtype=torch.float16,
|
| 49 |
)
|