shamik
commited on
Commit
•
92e4310
1
Parent(s):
58e77db
Modified the app.
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ demo = gr.Blocks()
|
|
54 |
|
55 |
mic_translate = gr.Interface(
|
56 |
fn=speech_to_speech_translation,
|
57 |
-
inputs=gr.Audio(
|
58 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
59 |
title=title,
|
60 |
description=description,
|
|
|
54 |
|
55 |
mic_translate = gr.Interface(
|
56 |
fn=speech_to_speech_translation,
|
57 |
+
inputs=gr.Audio(sources="microphone",label= "Audio", type="filepath"),
|
58 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
59 |
title=title,
|
60 |
description=description,
|