Python
fix rife4 not downloaded
DeepBeepMeep2e97c3506f94
diff --git a/wgp.py b/wgp.pyindex 7848bbd..6c4e6ec 100644--- a/wgp.py+++ b/wgp.py@@ -3015,7 +3015,7 @@ def download_models(model_filename = None, model_type= None, file_type = 0, subm["config.json", "feature_extractor_config.json", "model.safetensors", "preprocessor_config.json", "special_tokens_map.json", "tokenizer_config.json", "vocab.json"],["config.json", "pytorch_model.bin", "preprocessor_config.json"],["model_bs_roformer_ep_317_sdr_12.9755.ckpt", "model_bs_roformer_ep_317_sdr_12.9755.yaml", "download_checks.json"],- ["pyannote_model_wespeaker-voxceleb-resnet34-LM.bin", "pytorch_model_segmentation-3.0.bin"], ["detface.pt"], [ RIFE_V3_FILENAME if server_config.get("rife_version", "v3") == "v4" else RIFE_V4_FILENAME ] ]+ ["pyannote_model_wespeaker-voxceleb-resnet34-LM.bin", "pytorch_model_segmentation-3.0.bin"], ["detface.pt"], [ RIFE_V3_FILENAME if server_config.get("rife_version", "v3") == "v3" else RIFE_V4_FILENAME ] ]}process_files_def(**shared_def)