Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,7 @@ async def detect(audio):
|
|
5 |
mp3_file_content_to_recognize = open(audio, 'rb').read()
|
6 |
|
7 |
shazam = Shazam(
|
8 |
-
mp3_file_content_to_recognize
|
9 |
-
lang='en',
|
10 |
-
time_zone='Europe/Paris'
|
11 |
)
|
12 |
recognize_generator = shazam.recognizeSong()
|
13 |
results = ''
|
|
|
5 |
mp3_file_content_to_recognize = open(audio, 'rb').read()
|
6 |
|
7 |
shazam = Shazam(
|
8 |
+
mp3_file_content_to_recognize
|
|
|
|
|
9 |
)
|
10 |
recognize_generator = shazam.recognizeSong()
|
11 |
results = ''
|