amirgame197 commited on
Commit
17b9841
·
verified ·
1 Parent(s): 4a5dfc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -107,15 +107,12 @@ selected_stem_count = 2
107
 
108
  if uploaded_file is not None:
109
 
110
- #if st.button("Submit"):
111
-
112
  with tempfile.NamedTemporaryFile(delete=False) as temp_file:
113
  temp_file.write(uploaded_file.read())
114
  temp_file_path = temp_file.name
115
 
116
  separate_audios = separate_audio_by_stem(temp_file_path, selected_stem_count)
117
 
118
- st.write("Output Files:")
119
  for audio in separate_audios:
120
  st.write(audio['description'])
121
  st.audio(audio['path'], format="audio/wav", start_time=0)
 
107
 
108
  if uploaded_file is not None:
109
 
 
 
110
  with tempfile.NamedTemporaryFile(delete=False) as temp_file:
111
  temp_file.write(uploaded_file.read())
112
  temp_file_path = temp_file.name
113
 
114
  separate_audios = separate_audio_by_stem(temp_file_path, selected_stem_count)
115
 
 
116
  for audio in separate_audios:
117
  st.write(audio['description'])
118
  st.audio(audio['path'], format="audio/wav", start_time=0)