versae commited on
Commit
11abfd0
1 Parent(s): 7dd1fd7

Update duplex.py

Browse files
Files changed (1) hide show
  1. duplex.py +1 -1
duplex.py CHANGED
@@ -60,7 +60,7 @@ asr_en = pipeline(
60
  feature_extractor=processor_en.feature_extractor,
61
  decoder=processor_en.decoder
62
  )
63
- tts_model_name = "facebook/fastspeech2-en-200_speaker-cv4"
64
  speak_en = gr.Interface.load(f"huggingface/{tts_model_name}")
65
  transcribe_en = lambda input_file: asr_en(input_file, chunk_length_s=5, stride_length_s=1)["text"]
66
  generate_iface = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
 
60
  feature_extractor=processor_en.feature_extractor,
61
  decoder=processor_en.decoder
62
  )
63
+ tts_model_name = "facebook/fastspeech2-en-ljspeech"
64
  speak_en = gr.Interface.load(f"huggingface/{tts_model_name}")
65
  transcribe_en = lambda input_file: asr_en(input_file, chunk_length_s=5, stride_length_s=1)["text"]
66
  generate_iface = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")