Spaces:
Running
Running
Update src/webui.py
Browse files- src/webui.py +1 -1
src/webui.py
CHANGED
@@ -188,7 +188,7 @@ if __name__ == '__main__':
|
|
188 |
show_file_upload_button = gr.Button('Upload file instead')
|
189 |
|
190 |
with gr.Column(visible=False) as file_upload_col:
|
191 |
-
local_file = gr.
|
192 |
song_input_file = gr.UploadButton('Upload 📂', file_types=['audio'], variant='primary')
|
193 |
show_yt_link_button = gr.Button('Paste YouTube link/Path to local file instead')
|
194 |
song_input_file.upload(process_file_upload, inputs=[song_input_file], outputs=[local_file, song_input])
|
|
|
188 |
show_file_upload_button = gr.Button('Upload file instead')
|
189 |
|
190 |
with gr.Column(visible=False) as file_upload_col:
|
191 |
+
local_file = gr.Audio(label='Audio file')
|
192 |
song_input_file = gr.UploadButton('Upload 📂', file_types=['audio'], variant='primary')
|
193 |
show_yt_link_button = gr.Button('Paste YouTube link/Path to local file instead')
|
194 |
song_input_file.upload(process_file_upload, inputs=[song_input_file], outputs=[local_file, song_input])
|