szili2011 commited on
Commit
aa3fa6d
·
verified ·
1 Parent(s): 5e7000d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import librosa
4
 
5
  # Function to load audio using librosa
6
  def load_audio(file):
7
- audio, sr = librosa.load(file, sr=None)
8
  return audio, sr
9
 
10
  # Function to get a relevant audio segment based on onset detection
 
4
 
5
  # Function to load audio using librosa
6
  def load_audio(file):
7
+ audio, sr = librosa.load(file, sr=None) # Load the audio file
8
  return audio, sr
9
 
10
  # Function to get a relevant audio segment based on onset detection