Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -202,7 +202,7 @@ def process_audio_file(file_data, url):
|
|
| 202 |
|
| 203 |
confidence_threshold = 0.60
|
| 204 |
confident_classes = set()
|
| 205 |
-
|
| 206 |
exclusion_list = ['Mechanisms','Domestic animals, pets', 'Animal', 'Silence', 'Alarm', 'Wind chime', 'Water', 'Livestock, farm animals, working animals', 'Wild animals', 'Bleat', 'Siren', 'Computer keyboard', 'Toot', 'Shatter', 'Bird','Caw', 'Independent music', 'Tender music', 'Ocean', 'House music', 'Middle Eastern music', 'Swing music', 'Soul music', 'Shofar', 'Motor vehicle (road)', 'White noise','Pink noise', 'Cacophony', 'Sidetone', 'Static', 'Outside, rural or natural', 'Outside, urban or manmade', 'Inside, public space', 'Inside, large room or hall', 'Inside, small room', 'Sound effect' ]
|
| 207 |
for frame_scores in scores_np:
|
| 208 |
for i, score in enumerate(frame_scores):
|
|
|
|
| 202 |
|
| 203 |
confidence_threshold = 0.60
|
| 204 |
confident_classes = set()
|
| 205 |
+
solutions=[]
|
| 206 |
exclusion_list = ['Mechanisms','Domestic animals, pets', 'Animal', 'Silence', 'Alarm', 'Wind chime', 'Water', 'Livestock, farm animals, working animals', 'Wild animals', 'Bleat', 'Siren', 'Computer keyboard', 'Toot', 'Shatter', 'Bird','Caw', 'Independent music', 'Tender music', 'Ocean', 'House music', 'Middle Eastern music', 'Swing music', 'Soul music', 'Shofar', 'Motor vehicle (road)', 'White noise','Pink noise', 'Cacophony', 'Sidetone', 'Static', 'Outside, rural or natural', 'Outside, urban or manmade', 'Inside, public space', 'Inside, large room or hall', 'Inside, small room', 'Sound effect' ]
|
| 207 |
for frame_scores in scores_np:
|
| 208 |
for i, score in enumerate(frame_scores):
|