Spaces:
Running
on
Zero
Running
on
Zero
unknown
commited on
Commit
•
bcb2531
1
Parent(s):
f279022
decorator
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import torchvision
|
|
3 |
|
4 |
import os
|
5 |
import os.path as osp
|
|
|
6 |
import random
|
7 |
from argparse import ArgumentParser
|
8 |
from datetime import datetime
|
@@ -125,6 +126,7 @@ class FoleyController:
|
|
125 |
|
126 |
return "Load"
|
127 |
|
|
|
128 |
def foley(
|
129 |
self,
|
130 |
input_video,
|
|
|
3 |
|
4 |
import os
|
5 |
import os.path as osp
|
6 |
+
import spaces
|
7 |
import random
|
8 |
from argparse import ArgumentParser
|
9 |
from datetime import datetime
|
|
|
126 |
|
127 |
return "Load"
|
128 |
|
129 |
+
@spaces.GPU
|
130 |
def foley(
|
131 |
self,
|
132 |
input_video,
|