slslslrhfem commited on
Commit ·
25474f9
1
Parent(s): 42423de
change delete mechanism
Browse files
app.py
CHANGED
|
@@ -368,6 +368,7 @@ def process_audio_for_matching(audio_file):
|
|
| 368 |
for i, match in enumerate(matches[:3]):
|
| 369 |
rank = match.get('rank', 0)
|
| 370 |
song_title = match.get('song_title', 'Unknown Song')
|
|
|
|
| 371 |
score = match.get('score', 0) # Raw score instead of confidence
|
| 372 |
test_time = match.get('test_time', 0)
|
| 373 |
test_time2 = match.get('test_time2', 0)
|
|
|
|
| 368 |
for i, match in enumerate(matches[:3]):
|
| 369 |
rank = match.get('rank', 0)
|
| 370 |
song_title = match.get('song_title', 'Unknown Song')
|
| 371 |
+
song_title = song_title.replace('_', ' ').replace(' temp','')
|
| 372 |
score = match.get('score', 0) # Raw score instead of confidence
|
| 373 |
test_time = match.get('test_time', 0)
|
| 374 |
test_time2 = match.get('test_time2', 0)
|