Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,7 @@ model_cache = {}
|
|
11 |
|
12 |
def zero_shot_classify(audio_path: str, class_names: str, model_name: str) -> Dict[str, float]:
|
13 |
class_names = class_names.split(",")
|
|
|
14 |
tokenizer = get_tokenizer(multilingual=".en" not in model_name)
|
15 |
|
16 |
if model_name not in model_cache:
|
|
|
11 |
|
12 |
def zero_shot_classify(audio_path: str, class_names: str, model_name: str) -> Dict[str, float]:
|
13 |
class_names = class_names.split(",")
|
14 |
+
print("model name: ", model_name)
|
15 |
tokenizer = get_tokenizer(multilingual=".en" not in model_name)
|
16 |
|
17 |
if model_name not in model_cache:
|