Spaces:
Sleeping
Sleeping
Update an argument name in Gardio.Audio
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ demo = gr.Blocks()
|
|
51 |
|
52 |
mic_translate = gr.Interface(
|
53 |
fn=speech_to_speech_translation,
|
54 |
-
inputs=gr.Audio(
|
55 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
56 |
title=title,
|
57 |
description=description,
|
|
|
51 |
|
52 |
mic_translate = gr.Interface(
|
53 |
fn=speech_to_speech_translation,
|
54 |
+
inputs=gr.Audio(sources="microphone", type="filepath"),
|
55 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
56 |
title=title,
|
57 |
description=description,
|