Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,6 +46,7 @@ mic_translate = gr.Interface(
|
|
46 |
fn=speech_to_speech_translation,
|
47 |
inputs=gr.Audio(sources="microphone", type="filepath"),
|
48 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
|
|
49 |
title=title,
|
50 |
description=description,
|
51 |
)
|
@@ -54,6 +55,7 @@ file_translate = gr.Interface(
|
|
54 |
fn=speech_to_speech_translation,
|
55 |
inputs=gr.Audio(sources="upload", type="filepath"),
|
56 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
|
|
57 |
title=title,
|
58 |
description=description,
|
59 |
)
|
|
|
46 |
fn=speech_to_speech_translation,
|
47 |
inputs=gr.Audio(sources="microphone", type="filepath"),
|
48 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
49 |
+
examples=[["./example.wav"]],
|
50 |
title=title,
|
51 |
description=description,
|
52 |
)
|
|
|
55 |
fn=speech_to_speech_translation,
|
56 |
inputs=gr.Audio(sources="upload", type="filepath"),
|
57 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
58 |
+
examples=[["./example.wav"]],
|
59 |
title=title,
|
60 |
description=description,
|
61 |
)
|