Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ class Generator(nn.Module):
|
|
33 |
netG = Generator()
|
34 |
|
35 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
36 |
-
model_file = "
|
37 |
netG.load_state_dict(torch.load(model_file, map_location=device))
|
38 |
netG.eval()
|
39 |
|
|
|
33 |
netG = Generator()
|
34 |
|
35 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
36 |
+
model_file = "model.pth"
|
37 |
netG.load_state_dict(torch.load(model_file, map_location=device))
|
38 |
netG.eval()
|
39 |
|