Spaces:
Running
on
Zero
Running
on
Zero
fix!: output_format issues
Browse files
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".{
|
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")
|