Spaces:
Running
Running
Guhanselvam
commited on
Commit
•
4686a40
1
Parent(s):
b16175d
Update app.py
Browse files
app.py
CHANGED
@@ -34,12 +34,11 @@ def transcribe(audio):
|
|
34 |
|
35 |
|
36 |
gr.Interface(
|
37 |
-
title
|
38 |
-
fn=transcribe,
|
39 |
inputs=[
|
40 |
-
gr.
|
41 |
],
|
42 |
-
outputs=[
|
43 |
-
|
44 |
-
|
45 |
-
live=True).launch()
|
|
|
34 |
|
35 |
|
36 |
gr.Interface(
|
37 |
+
title='SPEECH TO TEXT',
|
38 |
+
fn=transcribe,
|
39 |
inputs=[
|
40 |
+
gr.Audio(source="microphone", type="filepath") # Updated line
|
41 |
],
|
42 |
+
outputs=["textbox"],
|
43 |
+
live=True
|
44 |
+
).launch()
|
|