Spaces:
Sleeping
Sleeping
..
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def transcribe_audio(audio):
|
|
27 |
|
28 |
# Create a Gradio interface for uploading audio or recording from the browser
|
29 |
demo = gr.Interface(fn=transcribe_audio,
|
30 |
-
inputs=gr.Audio(
|
31 |
outputs="text")
|
32 |
|
33 |
demo.launch()
|
|
|
27 |
|
28 |
# Create a Gradio interface for uploading audio or recording from the browser
|
29 |
demo = gr.Interface(fn=transcribe_audio,
|
30 |
+
inputs=gr.Audio(type="filepath"), # Corrected input component
|
31 |
outputs="text")
|
32 |
|
33 |
demo.launch()
|