denis-kazakov
commited on
Commit
•
7c3bb3f
1
Parent(s):
fee55e0
Upload app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ demo = gr.Blocks()
|
|
44 |
mic_translate = gr.Interface(
|
45 |
fn=speech_to_speech_translation,
|
46 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
47 |
-
outputs=
|
48 |
title=title,
|
49 |
description=description,
|
50 |
)
|
@@ -52,7 +52,7 @@ mic_translate = gr.Interface(
|
|
52 |
file_translate = gr.Interface(
|
53 |
fn=speech_to_speech_translation,
|
54 |
inputs=gr.Audio(source="upload", type="filepath"),
|
55 |
-
outputs=
|
56 |
examples=[["./example.wav"]],
|
57 |
title=title,
|
58 |
description=description,
|
|
|
44 |
mic_translate = gr.Interface(
|
45 |
fn=speech_to_speech_translation,
|
46 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
47 |
+
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
48 |
title=title,
|
49 |
description=description,
|
50 |
)
|
|
|
52 |
file_translate = gr.Interface(
|
53 |
fn=speech_to_speech_translation,
|
54 |
inputs=gr.Audio(source="upload", type="filepath"),
|
55 |
+
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
56 |
examples=[["./example.wav"]],
|
57 |
title=title,
|
58 |
description=description,
|