Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import torch_utils
|
|
| 8 |
|
| 9 |
# Load the pre-trained StyleGAN model
|
| 10 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
| 11 |
-
model_path = '
|
| 12 |
|
| 13 |
# Load StyleGAN Generator
|
| 14 |
with open(model_path, 'rb') as f:
|
|
|
|
| 8 |
|
| 9 |
# Load the pre-trained StyleGAN model
|
| 10 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
| 11 |
+
model_path = 'dress_model.pkl' # Place your .pkl in the same directory or update path
|
| 12 |
|
| 13 |
# Load StyleGAN Generator
|
| 14 |
with open(model_path, 'rb') as f:
|