Bajiyo commited on
Commit
ac05f60
·
verified ·
1 Parent(s): ef23c14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def main(args):
85
  vc_wrapper = load_models(args)
86
 
87
  # Define wrapper function for Gradio to ensure arguments are handled correctly
88
- @@gr.gradio()
89
  @spaces.GPU # Ensures conversion runs on the specified GPU if available
90
  def convert_voice_wrapper(source_audio_path, target_audio_path, diffusion_steps,
91
  length_adjust, intelligibility_cfg_rate, similarity_cfg_rate,
 
85
  vc_wrapper = load_models(args)
86
 
87
  # Define wrapper function for Gradio to ensure arguments are handled correctly
88
+ @gr.gradio()
89
  @spaces.GPU # Ensures conversion runs on the specified GPU if available
90
  def convert_voice_wrapper(source_audio_path, target_audio_path, diffusion_steps,
91
  length_adjust, intelligibility_cfg_rate, similarity_cfg_rate,