Spaces:
Runtime error
Runtime error
fix filename
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ if torch.cuda.is_available():
|
|
39 |
|
40 |
if PREVIEW_IMAGES:
|
41 |
previewer = Previewer()
|
42 |
-
previewer.load_state_dict(torch.load(
|
43 |
previewer.eval().requires_grad_(False).to(device).to(dtype)
|
44 |
|
45 |
def callback_prior(i, t, latents):
|
|
|
39 |
|
40 |
if PREVIEW_IMAGES:
|
41 |
previewer = Previewer()
|
42 |
+
previewer.load_state_dict(torch.load("previewer/text2img_wurstchen_b_v1_previewer_100k.pt")["state_dict"])
|
43 |
previewer.eval().requires_grad_(False).to(device).to(dtype)
|
44 |
|
45 |
def callback_prior(i, t, latents):
|