Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -7,10 +7,6 @@ import sys
|
|
7 |
import FFV1MT_MS
|
8 |
import flow_tools
|
9 |
|
10 |
-
if torch.cuda.is_available():
|
11 |
-
generator = torch.Generator('cuda').manual_seed(seed)
|
12 |
-
else:
|
13 |
-
generator = torch.Generator().manual_seed(seed)
|
14 |
|
15 |
model = FFV1MT_MS.FFV1DNN()
|
16 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
7 |
import FFV1MT_MS
|
8 |
import flow_tools
|
9 |
|
|
|
|
|
|
|
|
|
10 |
|
11 |
model = FFV1MT_MS.FFV1DNN()
|
12 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|