Spaces:
Sleeping
Sleeping
bhadresh-savani
commited on
Commit
•
b550f13
1
Parent(s):
b72b9a6
fixed the model name
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ transform = Compose(
|
|
12 |
Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
|
13 |
]
|
14 |
)
|
15 |
-
model = GeneratorUNet.from_pretrained('huggan/pix2pix-
|
16 |
|
17 |
def predict_fn(img):
|
18 |
inp = transform(img).unsqueeze(0)
|
|
|
12 |
Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
|
13 |
]
|
14 |
)
|
15 |
+
model = GeneratorUNet.from_pretrained('huggan/pix2pix-maps')
|
16 |
|
17 |
def predict_fn(img):
|
18 |
inp = transform(img).unsqueeze(0)
|