Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ io3 = gr.Interface.load("huggingface/facebook/xm_transformer_unity_en-hk")
|
|
9 |
io4 = gr.Interface.load("huggingface/facebook/xm_transformer_unity_hk-en")
|
10 |
|
11 |
def inference(audio, model):
|
|
|
12 |
if model == "xm_transformer_s2ut_en-hk":
|
13 |
out_audio = io1(audio)
|
14 |
elif model == "xm_transformer_s2ut_hk-en":
|
|
|
9 |
io4 = gr.Interface.load("huggingface/facebook/xm_transformer_unity_hk-en")
|
10 |
|
11 |
def inference(audio, model):
|
12 |
+
print(audio)
|
13 |
if model == "xm_transformer_s2ut_en-hk":
|
14 |
out_audio = io1(audio)
|
15 |
elif model == "xm_transformer_s2ut_hk-en":
|