Spaces:
Runtime error
Runtime error
gngpostalsrvc
commited on
Commit
•
4a46889
1
Parent(s):
f778236
added new application file
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def transcribe_and_describe(audio):
|
|
24 |
|
25 |
flatness = pd.DataFrame(librosa.feature.spectral_flatness(y=audio).T).describe().T
|
26 |
loudness = pd.DataFrame(librosa.feature.rms(audio).T).describe().T
|
27 |
-
time, frequency, confidence, activation = crepe.predict(audio, sr
|
28 |
frequency = pd.DataFrame(frequency.T).describe().T
|
29 |
|
30 |
mean_spectral_flatness = flatness.loc[0, 'mean']
|
|
|
24 |
|
25 |
flatness = pd.DataFrame(librosa.feature.spectral_flatness(y=audio).T).describe().T
|
26 |
loudness = pd.DataFrame(librosa.feature.rms(audio).T).describe().T
|
27 |
+
time, frequency, confidence, activation = crepe.predict(audio, sr)
|
28 |
frequency = pd.DataFrame(frequency.T).describe().T
|
29 |
|
30 |
mean_spectral_flatness = flatness.loc[0, 'mean']
|