yerang commited on
Commit
7f69a39
1 Parent(s): 6a72103

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -69,19 +69,19 @@ gradio_pipeline = GradioPipeline(
69
  args=args
70
  )
71
 
72
- @spaces.GPU(duration=240)
73
  def gpu_wrapped_execute_video(*args, **kwargs):
74
  return gradio_pipeline.execute_video(*args, **kwargs)
75
 
76
- @spaces.GPU(duration=240)
77
  def gpu_wrapped_execute_image(*args, **kwargs):
78
  return gradio_pipeline.execute_image(*args, **kwargs)
79
 
80
- @spaces.GPU(duration=240)
81
  def gpu_wrapped_stf_pipeline_execute(audio_path):
82
  return stf_pipeline.execute(audio_path)
83
 
84
- @spaces.GPU(duration=240)
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=120)
73
  def gpu_wrapped_execute_video(*args, **kwargs):
74
  return gradio_pipeline.execute_video(*args, **kwargs)
75
 
76
+ @spaces.GPU(duration=120)
77
  def gpu_wrapped_execute_image(*args, **kwargs):
78
  return gradio_pipeline.execute_image(*args, **kwargs)
79
 
80
+ @spaces.GPU(duration=120)
81
  def gpu_wrapped_stf_pipeline_execute(audio_path):
82
  return stf_pipeline.execute(audio_path)
83
 
84
+ @spaces.GPU(duration=120)
85
  def gpu_wrapped_elevenlabs_pipeline_generate_voice(text, voice):
86
  return elevenlabs_pipeline.generate_voice(text, voice)
87