Spaces:
Runtime error
Runtime error
Change audio output type from "file" to "filepath" in the gr.Interface function.
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ examples=[['This paper describes ESPnet2-TTS, an end-to-end text-to-speech (E2E-
|
|
93 |
gr.Interface(
|
94 |
inference,
|
95 |
[gr.inputs.Textbox(label="input text",lines=10),gr.inputs.Radio(choices=["english", "chinese", "japanese"], type="value", default="english", label="language")],
|
96 |
-
gr.outputs.Audio(type="
|
97 |
title=title,
|
98 |
description=description,
|
99 |
article=article,
|
|
|
93 |
gr.Interface(
|
94 |
inference,
|
95 |
[gr.inputs.Textbox(label="input text",lines=10),gr.inputs.Radio(choices=["english", "chinese", "japanese"], type="value", default="english", label="language")],
|
96 |
+
gr.outputs.Audio(type="filepath", label="Output"),
|
97 |
title=title,
|
98 |
description=description,
|
99 |
article=article,
|