amirgame197 commited on
Commit
3ba924d
·
verified ·
1 Parent(s): 7b26bef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -3,10 +3,6 @@ import os
3
  import tempfile
4
  import subprocess
5
 
6
- # Set Streamlit app title
7
- st.title("Audio Separation App")
8
-
9
- # Function to process the audio file
10
  def separate_audio(audio_path):
11
 
12
  print(f"{audio_path=}")
@@ -105,11 +101,8 @@ def separate_audio_by_stem(audio_path, stem_count):
105
  {'description': 'Bass', 'path':bass_path},
106
  {'description': 'Other', 'path':other_path},
107
  ]
108
-
109
- # Streamlit app content
110
- st.write("Upload an audio file")
111
 
112
- uploaded_file = st.file_uploader("Choose a file", type=["wav","mp3"])
113
  selected_stem_count = st.radio("Select stem count", (2,4,5))
114
 
115
  if uploaded_file is not None:
 
3
  import tempfile
4
  import subprocess
5
 
 
 
 
 
6
  def separate_audio(audio_path):
7
 
8
  print(f"{audio_path=}")
 
101
  {'description': 'Bass', 'path':bass_path},
102
  {'description': 'Other', 'path':other_path},
103
  ]
 
 
 
104
 
105
+ uploaded_file = st.file_uploader(type=["wav","mp3"])
106
  selected_stem_count = st.radio("Select stem count", (2,4,5))
107
 
108
  if uploaded_file is not None: