Spaces:
Runtime error
Runtime error
aar2dee2
commited on
Commit
·
4246859
1
Parent(s):
7bb2b6f
fix gradio type error
Browse files
app.py
CHANGED
|
@@ -118,7 +118,7 @@ description = "Darth Vader resurrected with all the knowledge of humanity"
|
|
| 118 |
mic_translate = gr.Interface(
|
| 119 |
fn=main,
|
| 120 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
| 121 |
-
outputs=gr.Audio(label="Generated Speech", type="
|
| 122 |
title=title,
|
| 123 |
description=description,
|
| 124 |
)
|
|
@@ -126,7 +126,7 @@ mic_translate = gr.Interface(
|
|
| 126 |
file_translate = gr.Interface(
|
| 127 |
fn=main,
|
| 128 |
inputs=gr.Audio(source="upload", type="filepath"),
|
| 129 |
-
outputs=gr.Audio(label="Generated Speech", type="
|
| 130 |
examples=[["./data/example/strauss-oppenheimer.wav"]],
|
| 131 |
title=title,
|
| 132 |
description=description,
|
|
|
|
| 118 |
mic_translate = gr.Interface(
|
| 119 |
fn=main,
|
| 120 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
| 121 |
+
outputs=gr.Audio(label="Generated Speech", type="filepath"),
|
| 122 |
title=title,
|
| 123 |
description=description,
|
| 124 |
)
|
|
|
|
| 126 |
file_translate = gr.Interface(
|
| 127 |
fn=main,
|
| 128 |
inputs=gr.Audio(source="upload", type="filepath"),
|
| 129 |
+
outputs=gr.Audio(label="Generated Speech", type="filepath"),
|
| 130 |
examples=[["./data/example/strauss-oppenheimer.wav"]],
|
| 131 |
title=title,
|
| 132 |
description=description,
|