Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ with gr.Blocks() as demo:
|
|
60 |
configure_button = gr.Button("Configure Model")
|
61 |
|
62 |
# Audio input component with streaming enabled
|
63 |
-
inp = gr.Audio(
|
64 |
# Audio output component to play back the transformed audio
|
65 |
out = gr.Audio(streaming=True)
|
66 |
# State to manage the ongoing audio stream
|
|
|
60 |
configure_button = gr.Button("Configure Model")
|
61 |
|
62 |
# Audio input component with streaming enabled
|
63 |
+
inp = gr.Audio(sources="microphone", streaming=True, type="numpy")
|
64 |
# Audio output component to play back the transformed audio
|
65 |
out = gr.Audio(streaming=True)
|
66 |
# State to manage the ongoing audio stream
|