Spaces:
Running
Running
yuangongfdu
commited on
Commit
•
b396343
1
Parent(s):
bb758f0
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def predict(audio_path, time_resolution):
|
|
21 |
# # ASR Results
|
22 |
# print(result["text"])
|
23 |
# # Audio Tagging Results
|
24 |
-
|
25 |
# print(audio_tag_result)
|
26 |
|
27 |
# asr_output = ""
|
|
|
21 |
# # ASR Results
|
22 |
# print(result["text"])
|
23 |
# # Audio Tagging Results
|
24 |
+
audio_tag_result = whisper.parse_at_label(result, language='follow_asr', top_k=5, p_threshold=-1, include_class_list=list(range(527)))
|
25 |
# print(audio_tag_result)
|
26 |
|
27 |
# asr_output = ""
|