Spaces:
Runtime error
Runtime error
Update duplex.py
Browse files
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-
|
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")
|