Spaces:
Runtime error
Runtime error
Commit
·
f4aa030
1
Parent(s):
8e4df21
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ example_videos = gr.components.Dataset(components=[sample_vid], samples=[[path]
|
|
| 79 |
|
| 80 |
def main():
|
| 81 |
args = parse_args()
|
| 82 |
-
args.device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
| 83 |
print('*** Now using %s.'%(args.device))
|
| 84 |
model = Model(device=args.device)
|
| 85 |
|
|
|
|
| 79 |
|
| 80 |
def main():
|
| 81 |
args = parse_args()
|
| 82 |
+
args.device = 'cuda'# if torch.cuda.is_available() else 'cpu'
|
| 83 |
print('*** Now using %s.'%(args.device))
|
| 84 |
model = Model(device=args.device)
|
| 85 |
|