Awell00 commited on
Commit
fc6aab1
·
verified ·
1 Parent(s): 9345fa1

fix!: output_format issues

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -221,7 +221,7 @@ def process_audio(uploaded_file, output_format):
221
  with gr.Blocks() as demo:
222
  gr.Markdown("# Music Player and Processor")
223
 
224
- file_upload = gr.File(label="Upload WAV file", file_types=[f".{choices}"])
225
  output_format = gr.Dropdown(label="Select Output Format", choices=["wav", "m4a"], value="m4a")
226
 
227
  process_button = gr.Button("Process Audio")
 
221
  with gr.Blocks() as demo:
222
  gr.Markdown("# Music Player and Processor")
223
 
224
+ file_upload = gr.File(label="Upload WAV file", file_types=[f".{output_format}"])
225
  output_format = gr.Dropdown(label="Select Output Format", choices=["wav", "m4a"], value="m4a")
226
 
227
  process_button = gr.Button("Process Audio")