kevinwang676 commited on
Commit
9791cd6
·
verified ·
1 Parent(s): fc7a25b

Update GPT_SoVITS/app.py

Browse files
Files changed (1) hide show
  1. GPT_SoVITS/app.py +2 -2
GPT_SoVITS/app.py CHANGED
@@ -416,7 +416,7 @@ def get_cleaned_text_final(text,language):
416
 
417
 
418
  @torch.no_grad()
419
- @spaces.GPU(duration=30)
420
  def vc_main(wav_path, text, language, prompt_wav, noise_scale=0.5):
421
  """ Voice Conversion
422
  wav_path: 待变声的源音频
@@ -488,7 +488,7 @@ with gr.Blocks(title="GPT-SoVITS-VC WebUI") as app:
488
  [output],
489
  )
490
 
491
- app.queue().launch(
492
  share=True,
493
  show_error=True,
494
  )
 
416
 
417
 
418
  @torch.no_grad()
419
+ @spaces.GPU
420
  def vc_main(wav_path, text, language, prompt_wav, noise_scale=0.5):
421
  """ Voice Conversion
422
  wav_path: 待变声的源音频
 
488
  [output],
489
  )
490
 
491
+ app.launch(
492
  share=True,
493
  show_error=True,
494
  )