yerang commited on
Commit
73776b4
1 Parent(s): 70a0843

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=160)
73
  def gpu_wrapped_execute_video(*args, **kwargs):
74
  return gradio_pipeline.execute_video(*args, **kwargs)
75
 
76
- @spaces.GPU(duration=160)
77
  def gpu_wrapped_execute_image(*args, **kwargs):
78
  return gradio_pipeline.execute_image(*args, **kwargs)
79
 
80
- @spaces.GPU(duration=160)
81
  def gpu_wrapped_stf_pipeline_execute(audio_path):
82
  return stf_pipeline.execute(audio_path)
83
 
84
- @spaces.GPU(duration=160)
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