DirtyFock
commited on
Commit
·
59439e2
1
Parent(s):
866c957
Forgot another sources kwarg name
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,
|