Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -69,19 +69,19 @@ gradio_pipeline = GradioPipeline(
|
|
69 |
args=args
|
70 |
)
|
71 |
|
72 |
-
@spaces.GPU(duration=
|
73 |
def gpu_wrapped_execute_video(*args, **kwargs):
|
74 |
return gradio_pipeline.execute_video(*args, **kwargs)
|
75 |
|
76 |
-
@spaces.GPU(duration=
|
77 |
def gpu_wrapped_execute_image(*args, **kwargs):
|
78 |
return gradio_pipeline.execute_image(*args, **kwargs)
|
79 |
|
80 |
-
@spaces.GPU(duration=
|
81 |
def gpu_wrapped_stf_pipeline_execute(audio_path):
|
82 |
return stf_pipeline.execute(audio_path)
|
83 |
|
84 |
-
@spaces.GPU(duration=
|
85 |
def gpu_wrapped_elevenlabs_pipeline_generate_voice(text, voice):
|
86 |
return elevenlabs_pipeline.generate_voice(text, voice)
|
87 |
|
|
|
69 |
args=args
|
70 |
)
|
71 |
|
72 |
+
@spaces.GPU(duration=200)
|
73 |
def gpu_wrapped_execute_video(*args, **kwargs):
|
74 |
return gradio_pipeline.execute_video(*args, **kwargs)
|
75 |
|
76 |
+
@spaces.GPU(duration=200)
|
77 |
def gpu_wrapped_execute_image(*args, **kwargs):
|
78 |
return gradio_pipeline.execute_image(*args, **kwargs)
|
79 |
|
80 |
+
@spaces.GPU(duration=200)
|
81 |
def gpu_wrapped_stf_pipeline_execute(audio_path):
|
82 |
return stf_pipeline.execute(audio_path)
|
83 |
|
84 |
+
@spaces.GPU(duration=200)
|
85 |
def gpu_wrapped_elevenlabs_pipeline_generate_voice(text, voice):
|
86 |
return elevenlabs_pipeline.generate_voice(text, voice)
|
87 |
|