Spaces:
Runtime error
Runtime error
Update app.py
Browse filesTrying to fix the issue with the assessment space
app.py
CHANGED
@@ -90,6 +90,7 @@ mic_translate = gr.Interface(
|
|
90 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
91 |
title=title,
|
92 |
description=description,
|
|
|
93 |
)
|
94 |
|
95 |
file_translate = gr.Interface(
|
@@ -99,6 +100,7 @@ file_translate = gr.Interface(
|
|
99 |
examples=[["./example.wav"]],
|
100 |
title=title,
|
101 |
description=description,
|
|
|
102 |
)
|
103 |
|
104 |
with demo:
|
|
|
90 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
91 |
title=title,
|
92 |
description=description,
|
93 |
+
api_name='predict',
|
94 |
)
|
95 |
|
96 |
file_translate = gr.Interface(
|
|
|
100 |
examples=[["./example.wav"]],
|
101 |
title=title,
|
102 |
description=description,
|
103 |
+
api_name='predict_upload',
|
104 |
)
|
105 |
|
106 |
with demo:
|