Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def analyze_song(mp3_file):
|
|
15 |
transcription = transcribe_audio(mp3_file) # Pass the mp3 filename to transcript.py
|
16 |
|
17 |
os.makedirs("out", exist_ok=True)
|
18 |
-
write('test.wav',
|
19 |
data = {
|
20 |
'api_token': '171afdabea68ffcdbd7f102b8611ac63',
|
21 |
'return': 'apple_music,spotify',
|
|
|
15 |
transcription = transcribe_audio(mp3_file) # Pass the mp3 filename to transcript.py
|
16 |
|
17 |
os.makedirs("out", exist_ok=True)
|
18 |
+
write('test.wav', mp3_file[0], mp3_file[1])
|
19 |
data = {
|
20 |
'api_token': '171afdabea68ffcdbd7f102b8611ac63',
|
21 |
'return': 'apple_music,spotify',
|