Spaces:
Sleeping
Sleeping
Collapseruin
commited on
Commit
·
9c50f27
1
Parent(s):
a5066a5
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def transcribe(audio):
|
|
8 |
text = pipe(audio)["text"]
|
9 |
return text
|
10 |
|
11 |
-
mic = gr.Audio(source="microphone", type="
|
12 |
|
13 |
iface = gr.Interface(transcribe,mic,"text").launch()
|
14 |
|
|
|
8 |
text = pipe(audio)["text"]
|
9 |
return text
|
10 |
|
11 |
+
mic = gr.Audio(source="microphone", type="filepath", label="Speak here...")
|
12 |
|
13 |
iface = gr.Interface(transcribe,mic,"text").launch()
|
14 |
|