Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ footer {visibility: hidden;}
|
|
22 |
# Create the Gradio interface
|
23 |
demo = gr.Interface(
|
24 |
fn=transcribe, # Function to process input
|
25 |
-
inputs=gr.Audio(sources="
|
26 |
outputs="text", # Display output as text
|
27 |
css=custom_css # Hide the Gradio footer
|
28 |
)
|
|
|
22 |
# Create the Gradio interface
|
23 |
demo = gr.Interface(
|
24 |
fn=transcribe, # Function to process input
|
25 |
+
inputs=gr.Audio(sources="upload"), # Take audio input
|
26 |
outputs="text", # Display output as text
|
27 |
css=custom_css # Hide the Gradio footer
|
28 |
)
|