Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Commit
•
cae5a7e
1
Parent(s):
981ef77
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def TranscribePianoAudio(input_file):
|
|
42 |
print('Loading audio...')
|
43 |
|
44 |
# Load audio
|
45 |
-
(audio, _) = load_audio(
|
46 |
print('Done!')
|
47 |
print('-' * 70)
|
48 |
print('Loading transcriptor..')
|
|
|
42 |
print('Loading audio...')
|
43 |
|
44 |
# Load audio
|
45 |
+
(audio, _) = load_audio(input_file, sr=sample_rate, mono=True)
|
46 |
print('Done!')
|
47 |
print('-' * 70)
|
48 |
print('Loading transcriptor..')
|