Skip to content

Commit

Permalink
Keep exception for possible pip installation
Browse files Browse the repository at this point in the history
  • Loading branch information
fernando79513 committed Oct 26, 2023
1 parent 1619fb4 commit 732f2d5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion checkbox-support/checkbox_support/vendor/brisque/brisque.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
import cv2
import numpy as np

from .svm import svmutil
try:
from .svm import svmutil
except ImportError:
from libsvm import svmutil

from .models import MODEL_PATH


Expand Down

0 comments on commit 732f2d5

Please sign in to comment.