Spaces:
Runtime error
Runtime error
fix
Browse files
app.py
CHANGED
@@ -55,9 +55,9 @@ import huggingface_hub
|
|
55 |
|
56 |
device = 'cpu'
|
57 |
dtype = torch.float32
|
58 |
-
MODEL_REPO = 'CVPR/
|
59 |
ckpt_path = huggingface_hub.hf_hub_download(
|
60 |
-
MODEL_REPO,
|
61 |
generator = torch.load(ckpt_path)
|
62 |
generator.eval()
|
63 |
generator.to(device, dtype)
|
|
|
55 |
|
56 |
device = 'cpu'
|
57 |
dtype = torch.float32
|
58 |
+
MODEL_REPO = 'CVPR/FSPBT'
|
59 |
ckpt_path = huggingface_hub.hf_hub_download(
|
60 |
+
MODEL_REPO, 'generator.pt')
|
61 |
generator = torch.load(ckpt_path)
|
62 |
generator.eval()
|
63 |
generator.to(device, dtype)
|