Hbvsa commited on
Commit
a1aef9c
1 Parent(s): 6352a22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ from os.path import abspath, dirname,join
4
  import spaces
5
  sys.path.append(join(dirname(abspath(__file__)),'GroundingDINO'))
6
 
7
- @spaces.GPU()
8
  def run_commands():
9
  commands = [
10
  "git clone https://github.com/IDEA-Research/GroundingDINO.git",
@@ -168,7 +168,7 @@ class VideoObjectDetection:
168
  image_transformed, _ = transform(image_pillow, None)
169
  return image_transformed
170
 
171
- @spaces.GPU()
172
  def generate_video(self, video_path) -> None:
173
 
174
  # Load model, set up variables and get video properties
 
4
  import spaces
5
  sys.path.append(join(dirname(abspath(__file__)),'GroundingDINO'))
6
 
7
+
8
  def run_commands():
9
  commands = [
10
  "git clone https://github.com/IDEA-Research/GroundingDINO.git",
 
168
  image_transformed, _ = transform(image_pillow, None)
169
  return image_transformed
170
 
171
+
172
  def generate_video(self, video_path) -> None:
173
 
174
  # Load model, set up variables and get video properties