youjian commited on
Commit
e88f04c
·
1 Parent(s): 8e97fd9

add iface.queue().launch()

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,7 +38,7 @@ from funasr.utils.postprocess_utils import rich_transcription_postprocess
38
  # Model configurations for Hugging Face deployment
39
  MODEL_PATH_LIST = [
40
  "SenseVoiceSmall", # local path together with this hf space
41
- "FunAudioLLM/SenseVoiceSmall" # huggingface model repo
42
  "iic/SenseVoiceSmall" # ModelScope model repo
43
  ]
44
 
@@ -591,4 +591,4 @@ with gr.Blocks() as iface:
591
  Supported languages: Chinese (zh), English (en), Cantonese (yue), Japanese (ja), Korean (ko)
592
  """)
593
 
594
- iface.launch(share=False, debug=True)
 
38
  # Model configurations for Hugging Face deployment
39
  MODEL_PATH_LIST = [
40
  "SenseVoiceSmall", # local path together with this hf space
41
+ "FunAudioLLM/SenseVoiceSmall", # huggingface model repo
42
  "iic/SenseVoiceSmall" # ModelScope model repo
43
  ]
44
 
 
591
  Supported languages: Chinese (zh), English (en), Cantonese (yue), Japanese (ja), Korean (ko)
592
  """)
593
 
594
+ iface.queue().launch(share=False, debug=True)