Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ examples = [
|
|
16 |
# Create the Gradio interface
|
17 |
interface = gr.Interface(
|
18 |
fn=process_audio,
|
19 |
-
inputs=gr.Audio(
|
20 |
outputs=gr.Textbox(),
|
21 |
examples=examples
|
22 |
)
|
|
|
16 |
# Create the Gradio interface
|
17 |
interface = gr.Interface(
|
18 |
fn=process_audio,
|
19 |
+
inputs=gr.Audio(sources="microphone", type="filepath"),
|
20 |
outputs=gr.Textbox(),
|
21 |
examples=examples
|
22 |
)
|