owiedotch commited on
Commit
f0099f3
·
verified ·
1 Parent(s): ff4e567

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def inference(audio_file: str, model_name: str, vocals: bool, drums: bool, bass:
22
  yield None, stream_log("Starting separation process...")
23
  yield None, stream_log(f"Loading audio file: {audio_file}")
24
 
25
- # Load the audio file without specifying channels
26
  wav = load_track(audio_file, separator.samplerate)
27
 
28
  # Check the number of channels and adjust if necessary
 
22
  yield None, stream_log("Starting separation process...")
23
  yield None, stream_log(f"Loading audio file: {audio_file}")
24
 
25
+ # Load the audio file with the correct samplerate
26
  wav = load_track(audio_file, separator.samplerate)
27
 
28
  # Check the number of channels and adjust if necessary