Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ from audio_pipe import SpeechToSpeechPipeline
|
|
7 |
# io2 = gr.Interface.load("huggingface/facebook/xm_transformer_s2ut_hk-en", api_key=os.environ['api_key'])
|
8 |
# io3 = gr.Interface.load("huggingface/facebook/xm_transformer_unity_en-hk", api_key=os.environ['api_key'])
|
9 |
# io4 = gr.Interface.load("huggingface/facebook/xm_transformer_unity_hk-en", api_key=os.environ['api_key'])
|
10 |
-
|
11 |
-
|
12 |
pipe3 = SpeechToSpeechPipeline("facebook/xm_transformer_unity_en-hk")
|
13 |
pipe4 = SpeechToSpeechPipeline("facebook/xm_transformer_unity_hk-en")
|
14 |
|
|
|
7 |
# io2 = gr.Interface.load("huggingface/facebook/xm_transformer_s2ut_hk-en", api_key=os.environ['api_key'])
|
8 |
# io3 = gr.Interface.load("huggingface/facebook/xm_transformer_unity_en-hk", api_key=os.environ['api_key'])
|
9 |
# io4 = gr.Interface.load("huggingface/facebook/xm_transformer_unity_hk-en", api_key=os.environ['api_key'])
|
10 |
+
pipe1 = SpeechToSpeechPipeline("facebook/xm_transformer_s2ut_en-hk")
|
11 |
+
pipe2 = SpeechToSpeechPipeline("facebook/xm_transformer_s2ut_hk-en")
|
12 |
pipe3 = SpeechToSpeechPipeline("facebook/xm_transformer_unity_en-hk")
|
13 |
pipe4 = SpeechToSpeechPipeline("facebook/xm_transformer_unity_hk-en")
|
14 |
|