mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-25 18:03:29 +08:00
Fix: provider name (#16733)
This commit is contained in:
@@ -32,6 +32,7 @@ warnings.filterwarnings(
|
||||
def _install_cv2_stub_if_unavailable():
|
||||
try:
|
||||
import cv2 # noqa: F401
|
||||
|
||||
return
|
||||
except (ImportError, OSError) as exc:
|
||||
# cv2 can fail to import with OSError too (e.g. missing shared libs),
|
||||
|
||||
Reference in New Issue
Block a user