Spaces:
Build error
Build error
removed audio box
Browse files- app/app.py +2 -3
app/app.py
CHANGED
@@ -292,9 +292,8 @@ with gr.Blocks(css=css) as demo:
|
|
292 |
radio = gr.Radio(["Audio File", "Record Audio"], label="Audio Source", value="Audio File")
|
293 |
|
294 |
# Audio object for both file and microphone data
|
295 |
-
|
296 |
-
|
297 |
-
mic_recording = gr.Audio(source="microphone", visible=False)
|
298 |
|
299 |
# Audio wave plot
|
300 |
audio_wave = gr.Plot(plot.value)
|
|
|
292 |
radio = gr.Radio(["Audio File", "Record Audio"], label="Audio Source", value="Audio File")
|
293 |
|
294 |
# Audio object for both file and microphone data
|
295 |
+
audio_file = gr.Audio()
|
296 |
+
mic_recording = gr.Audio(source="microphone", visible=False)
|
|
|
297 |
|
298 |
# Audio wave plot
|
299 |
audio_wave = gr.Plot(plot.value)
|