Spaces:
Running
on
T4
Running
on
T4
Commit
•
226ec3a
1
Parent(s):
f805e49
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ Demo uses OpenAI's [Whisper Base](https://huggingface.co/openai/whisper-base) mo
|
|
51 |
|
52 |
demo = gr.Interface(
|
53 |
fn=speech_to_speech_translation,
|
54 |
-
inputs=gr.Audio(type="filepath"),
|
55 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
56 |
examples=[["./example.wav"]],
|
57 |
title=title,
|
|
|
51 |
|
52 |
demo = gr.Interface(
|
53 |
fn=speech_to_speech_translation,
|
54 |
+
inputs=gr.Audio(source="microphone", type="filepath"),
|
55 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
56 |
examples=[["./example.wav"]],
|
57 |
title=title,
|