antoniomae commited on
Commit
af799a2
1 Parent(s): 1849416

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -35,8 +35,8 @@ st.title(APP_NAME)
35
  st.image(APP_LOGO, use_column_width=True)
36
  st.markdown(APP_DESCRIPTION)
37
 
38
- input_wav = st.file_uploader("Upload a MP3 file with your voice", type=["mp3"])
39
- clone_wav = st.file_uploader("Upload a MP3 file with voice to clone", type=["mp3"])
40
 
41
  if input_mp3 and clone_mp3:
42
  progress_bar = st.progress(0)
@@ -67,6 +67,6 @@ if input_mp3 and clone_mp3:
67
 
68
  update_progress(100, 'Audio generated successfully!')
69
 
70
- st.audio(audio_bytes, format='audio/mp3')
71
 
72
- st.download_button('Download wav', data=audio_bytes, file_name='output.wav')
 
35
  st.image(APP_LOGO, use_column_width=True)
36
  st.markdown(APP_DESCRIPTION)
37
 
38
+ input_wav = st.file_uploader("Upload a WAV file with your voice", type=["mp3"])
39
+ clone_wav = st.file_uploader("Upload a WAV file with voice to clone", type=["mp3"])
40
 
41
  if input_mp3 and clone_mp3:
42
  progress_bar = st.progress(0)
 
67
 
68
  update_progress(100, 'Audio generated successfully!')
69
 
70
+ st.audio(audio_bytes, format='audio/wav')
71
 
72
+ st.download_button('Download mp3', data=audio_bytes, file_name='output.wav')