Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -133,7 +133,7 @@ def infer(model_list, waveform, freq_aug=False):
|
|
| 133 |
config_path = "./AASIST_ASVspoof5_Exp4_CL.conf" # Remplacez par le chemin réel de votre fichier de config
|
| 134 |
config = load_config(config_path)
|
| 135 |
d_args = config["model_config"]
|
| 136 |
-
checkpoint_path = [f"./S{i+1}_best.pth" for i in
|
| 137 |
model_list = load_model(checkpoint_path, d_args)
|
| 138 |
|
| 139 |
|
|
|
|
| 133 |
config_path = "./AASIST_ASVspoof5_Exp4_CL.conf" # Remplacez par le chemin réel de votre fichier de config
|
| 134 |
config = load_config(config_path)
|
| 135 |
d_args = config["model_config"]
|
| 136 |
+
checkpoint_path = [f"./S{i+1}_best.pth" for i in range(4)] # Remplacez par votre checkpoint
|
| 137 |
model_list = load_model(checkpoint_path, d_args)
|
| 138 |
|
| 139 |
|