Spaces:
Running
on
Zero
Running
on
Zero
duration change and torch bug
Browse files- app.py +1 -1
- 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=
|
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
|