Support external FunCaptcha ONNX fallback
This commit is contained in:
@@ -254,6 +254,10 @@ FUN_CAPTCHA_TASKS = {
|
||||
"num_candidates": 4,
|
||||
"answer_index_base": 0,
|
||||
"channels": 3,
|
||||
"external_model_env": "FUNCAPTCHA_ROLLBALL_MODEL_PATH",
|
||||
"fallback_model_paths": [
|
||||
str(PROJECT_ROOT.parent / "funcaptcha-server" / "model" / "4_3d_rollball_animals.onnx"),
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user