Zeph27 commited on
Commit
c8e2439
β€’
1 Parent(s): 0a12764

place holder

Browse files
Files changed (2) hide show
  1. src/webui.py +1 -1
  2. tes.m4a +0 -0
src/webui.py CHANGED
@@ -222,7 +222,7 @@ if __name__ == '__main__':
222
  show_file_upload_button = gr.Button('Upload file instead')
223
 
224
  with gr.Column(visible=False) as file_upload_col:
225
- local_file = gr.File(label='Audio file')
226
  song_input_file = gr.UploadButton('Upload πŸ“‚', file_types=['audio'], variant='primary')
227
  show_yt_link_button = gr.Button('Paste YouTube link/Path to local file instead')
228
  song_input_file.upload(process_file_upload, inputs=[song_input_file], outputs=[local_file, song_input])
 
222
  show_file_upload_button = gr.Button('Upload file instead')
223
 
224
  with gr.Column(visible=False) as file_upload_col:
225
+ local_file = gr.File(label='Audio file', value='tes.m4a')
226
  song_input_file = gr.UploadButton('Upload πŸ“‚', file_types=['audio'], variant='primary')
227
  show_yt_link_button = gr.Button('Paste YouTube link/Path to local file instead')
228
  song_input_file.upload(process_file_upload, inputs=[song_input_file], outputs=[local_file, song_input])
tes.m4a ADDED
Binary file (372 kB). View file