lpw commited on
Commit
15a9ca7
·
1 Parent(s): e581f1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -15,6 +15,9 @@ pipe = SpeechToSpeechPipeline("facebook/xm_transformer_unity_hk-en")
15
  def call_model(audio, model):
16
  # pipe = SpeechToSpeechPipeline("facebook/xm_transformer_unity_hk-en")
17
  out_put = pipe(audio)
 
 
 
18
  return gr.Audio(out_put[1], out_put[0])
19
 
20
  def inference(audio, model):
 
15
  def call_model(audio, model):
16
  # pipe = SpeechToSpeechPipeline("facebook/xm_transformer_unity_hk-en")
17
  out_put = pipe(audio)
18
+ print(len(out_put))
19
+ print(out_put[1])
20
+ print(out_put[2])
21
  return gr.Audio(out_put[1], out_put[0])
22
 
23
  def inference(audio, model):