Spaces:
Running
on
Zero
Running
on
Zero
unknown
commited on
Commit
•
72bd3bf
1
Parent(s):
9c8c282
comment
Browse files
app.py
CHANGED
@@ -147,8 +147,8 @@ class FoleyController:
|
|
147 |
torchvision.transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
|
148 |
]
|
149 |
video_transform = torchvision.transforms.Compose(vision_transform_list)
|
150 |
-
if not self.loaded:
|
151 |
-
|
152 |
generator = torch.Generator()
|
153 |
if seed_textbox != "":
|
154 |
torch.manual_seed(int(seed_textbox))
|
|
|
147 |
torchvision.transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
|
148 |
]
|
149 |
video_transform = torchvision.transforms.Compose(vision_transform_list)
|
150 |
+
# if not self.loaded:
|
151 |
+
# raise gr.Error("Error with loading model")
|
152 |
generator = torch.Generator()
|
153 |
if seed_textbox != "":
|
154 |
torch.manual_seed(int(seed_textbox))
|