er1t0 commited on
Commit
1f53cf6
1 Parent(s): 20ab02f

duration change and torch bug

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +0 -1
app.py CHANGED
@@ -219,7 +219,7 @@ def process_video(video_path, prompt):
219
  print(traceback.format_exc()) # This will print the full stack trace
220
  return None
221
 
222
- @spaces.GPU(duration=1200)
223
  def segment_video(video_file, prompt):
224
  if video_file is None:
225
  return None
 
219
  print(traceback.format_exc()) # This will print the full stack trace
220
  return None
221
 
222
+ @spaces.GPU(duration=600)
223
  def segment_video(video_file, prompt):
224
  if video_file is None:
225
  return None
requirements.txt CHANGED
@@ -1,5 +1,4 @@
1
  spaces
2
- torch
3
  samv2
4
  gradio
5
  Pillow
 
1
  spaces
 
2
  samv2
3
  gradio
4
  Pillow