kevinwang676 commited on
Commit
a413afe
·
verified ·
1 Parent(s): afa5f12

Update GPT_SoVITS/app.py

Browse files
Files changed (1) hide show
  1. GPT_SoVITS/app.py +1 -3
GPT_SoVITS/app.py CHANGED
@@ -37,7 +37,6 @@ from text.cleaner import clean_text
37
  from my_utils import load_audio
38
  from tools.i18n.i18n import I18nAuto
39
 
40
- import spaces
41
 
42
  def get_pretrain_model_path(env_name, log_file, def_path):
43
  """ 获取预训练模型路径
@@ -416,7 +415,6 @@ def get_cleaned_text_final(text,language):
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,7 +486,7 @@ with gr.Blocks(title="GPT-SoVITS-VC WebUI") as app:
488
  [output],
489
  )
490
 
491
- app.launch(
492
  share=True,
493
  show_error=True,
494
  )
 
37
  from my_utils import load_audio
38
  from tools.i18n.i18n import I18nAuto
39
 
 
40
 
41
  def get_pretrain_model_path(env_name, log_file, def_path):
42
  """ 获取预训练模型路径
 
415
 
416
 
417
  @torch.no_grad()
 
418
  def vc_main(wav_path, text, language, prompt_wav, noise_scale=0.5):
419
  """ Voice Conversion
420
  wav_path: 待变声的源音频
 
486
  [output],
487
  )
488
 
489
+ app.queue().launch(
490
  share=True,
491
  show_error=True,
492
  )