Spaces:
Sleeping
Sleeping
Mohammad Sabik Irbaz
commited on
Commit
·
6e71fd8
1
Parent(s):
a4a2eb9
add microphone
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ def test_speech(prompt, audio):
|
|
147 |
return pred
|
148 |
|
149 |
prompt = gr.Textbox(label="Prompt")
|
150 |
-
audio_response = gr.Audio(type="filepath", label="Audio")
|
151 |
rank = gr.Textbox(label="Rank (A1-C2)")
|
152 |
|
153 |
iface = gr.Interface(fn=test_speech,
|
|
|
147 |
return pred
|
148 |
|
149 |
prompt = gr.Textbox(label="Prompt")
|
150 |
+
audio_response = gr.Audio(source="microphone", type="filepath", label="Audio")
|
151 |
rank = gr.Textbox(label="Rank (A1-C2)")
|
152 |
|
153 |
iface = gr.Interface(fn=test_speech,
|