Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,8 @@ pipe = SpeechToSpeechPipeline("facebook/xm_transformer_unity_hk-en")
|
|
| 14 |
|
| 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 |
|
|
|
|
| 14 |
|
| 15 |
def call_model(audio, model):
|
| 16 |
# pipe = SpeechToSpeechPipeline("facebook/xm_transformer_unity_hk-en")
|
| 17 |
+
print(type(audio))
|
| 18 |
+
print(audio)
|
| 19 |
out_put = pipe(audio)
|
| 20 |
return gr.Audio(out_put[1], out_put[0])
|
| 21 |
|