From bb09b75d3b75ab850669ff20adff43e9dadbf86d Mon Sep 17 00:00:00 2001 From: 87owo <85057800+87owo@users.noreply.github.com> Date: Sat, 27 Dec 2025 01:41:45 +0800 Subject: [PATCH] Add files via upload --- PYAS_Engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PYAS_Engine.py b/PYAS_Engine.py index c9c23e7..0313ddb 100644 --- a/PYAS_Engine.py +++ b/PYAS_Engine.py @@ -122,7 +122,7 @@ class model_scanner: def load_file(self, file): if file.lower().endswith('.onnx'): try: - self.model = onnxruntime.InferenceSession(file, providers=['CPUExecutionProvider']) + self.model = onnxruntime.InferenceSession(file) except Exception: return False