Skolavennu commited on
Commit
8d409d7
·
verified ·
1 Parent(s): 46ba5cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,6 +1,11 @@
1
  import os
2
  import subprocess
3
  import gradio as gr
 
 
 
 
 
4
 
5
  def extend_video(video_path, seconds):
6
  if not video_path:
 
1
  import os
2
  import subprocess
3
  import gradio as gr
4
+ import spaces # <--- 1. Import the spaces module
5
+
6
+ # 2. Add this decorator to satisfy the ZeroGPU runtime check
7
+ @spaces.GPU
8
+
9
 
10
  def extend_video(video_path, seconds):
11
  if not video_path: