lpw commited on
Commit
fed5ecd
1 Parent(s): ed7aac3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- # 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
 
 
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