fix: audio interface
Browse files
app.py
CHANGED
@@ -40,9 +40,8 @@ def transcribe(audio):
|
|
40 |
# )
|
41 |
demo = gr.Interface(
|
42 |
transcribe,
|
43 |
-
gr.Audio(sources=["microphone"]),
|
44 |
-
"text"
|
45 |
-
type="filepath"
|
46 |
)
|
47 |
|
48 |
if __name__ == "__main__":
|
|
|
40 |
# )
|
41 |
demo = gr.Interface(
|
42 |
transcribe,
|
43 |
+
gr.Audio(sources=["microphone"], type="filepath"),
|
44 |
+
"text"
|
|
|
45 |
)
|
46 |
|
47 |
if __name__ == "__main__":
|