Spaces:
Sleeping
Sleeping
ghostofdivinity
commited on
Commit
•
a94f3c2
1
Parent(s):
a397132
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ class Generator(nn.Module):
|
|
23 |
latent_dim = 100
|
24 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
25 |
generator = Generator(latent_dim).to(device)
|
26 |
-
generator_model_path = '
|
27 |
generator.load_state_dict(torch.load(generator_model_path, map_location=device))
|
28 |
|
29 |
|
|
|
23 |
latent_dim = 100
|
24 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
25 |
generator = Generator(latent_dim).to(device)
|
26 |
+
generator_model_path = 'generator_model.pkl'
|
27 |
generator.load_state_dict(torch.load(generator_model_path, map_location=device))
|
28 |
|
29 |
|