Spaces:
Runtime error
Runtime error
Commit
•
d43a337
1
Parent(s):
01d95b9
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ if torch.cuda.is_available():
|
|
45 |
|
46 |
if PREVIEW_IMAGES:
|
47 |
previewer = Previewer()
|
48 |
-
previewer.load_state_dict(torch.load("previewer/
|
49 |
|
50 |
def callback_prior(i, t, latents):
|
51 |
output = previewer(latents)
|
|
|
45 |
|
46 |
if PREVIEW_IMAGES:
|
47 |
previewer = Previewer()
|
48 |
+
previewer.load_state_dict(torch.load("previewer/previewer_v1_100k.pt")["state_dict"])
|
49 |
|
50 |
def callback_prior(i, t, latents):
|
51 |
output = previewer(latents)
|