rbarman commited on
Commit
a54b68c
1 Parent(s): 0e6ef53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -61,8 +61,8 @@ def separate_audio_by_stem(audio_path, stem_count):
61
  print(f"{vocals_path=} \t exists: {os.path.exists(vocals_path)}")
62
 
63
  return [
64
- {'description':, 'Accompaniment', 'path':accompaniment_path},
65
- {'description':, 'Vocals', 'path':vocals_path},
66
  ]
67
 
68
  elif stem_count == 4:
@@ -78,10 +78,10 @@ def separate_audio_by_stem(audio_path, stem_count):
78
  print(f"{other_path=} \t exists: {os.path.exists(other_path)}")
79
 
80
  return [
81
- {'description':, 'Vocals', 'path':vocals_path},
82
- {'description':, 'Drums', 'path':drums_path},
83
- {'description':, 'Bass', 'path':bass_path},
84
- {'description':, 'Other', 'path':other_path},
85
  ]
86
 
87
  elif stem_count == 5:
@@ -99,11 +99,11 @@ def separate_audio_by_stem(audio_path, stem_count):
99
  print(f"{other_path=} \t exists: {os.path.exists(other_path)}")
100
 
101
  return [
102
- {'description':, 'Vocals', 'path':vocals_path},
103
- {'description':, 'Piano', 'path':piano_path},
104
- {'description':, 'Drums', 'path':drums_path},
105
- {'description':, 'Bass', 'path':bass_path},
106
- {'description':, 'Other', 'path':other_path},
107
  ]
108
 
109
  # Streamlit app content
 
61
  print(f"{vocals_path=} \t exists: {os.path.exists(vocals_path)}")
62
 
63
  return [
64
+ {'description': 'Accompaniment', 'path':accompaniment_path},
65
+ {'description': 'Vocals', 'path':vocals_path},
66
  ]
67
 
68
  elif stem_count == 4:
 
78
  print(f"{other_path=} \t exists: {os.path.exists(other_path)}")
79
 
80
  return [
81
+ {'description': 'Vocals', 'path':vocals_path},
82
+ {'description': 'Drums', 'path':drums_path},
83
+ {'description': 'Bass', 'path':bass_path},
84
+ {'description': 'Other', 'path':other_path},
85
  ]
86
 
87
  elif stem_count == 5:
 
99
  print(f"{other_path=} \t exists: {os.path.exists(other_path)}")
100
 
101
  return [
102
+ {'description': 'Vocals', 'path':vocals_path},
103
+ {'description': 'Piano', 'path':piano_path},
104
+ {'description': 'Drums', 'path':drums_path},
105
+ {'description': 'Bass', 'path':bass_path},
106
+ {'description': 'Other', 'path':other_path},
107
  ]
108
 
109
  # Streamlit app content