Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bitextor/bicleaner-ai.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZJaume <jzaragoza@prompsit.com>2022-07-22 15:42:03 +0300
committerJaume Zaragoza <ZJaume@users.noreply.github.com>2022-07-27 15:20:55 +0300
commitcc5fafd97c03b9b55513abc5568c45391d527939 (patch)
treea2412d6d1dd3f1de058c2e7b4dc939b4c64a21eb
parent55fe50d9223a0ab6975b8a38b6018a1f8d6bafb1 (diff)
Remove unset variable
-rwxr-xr-xbicleaner_ai/bicleaner_ai_classifier.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bicleaner_ai/bicleaner_ai_classifier.py b/bicleaner_ai/bicleaner_ai_classifier.py
index e13e9c9..3311613 100755
--- a/bicleaner_ai/bicleaner_ai_classifier.py
+++ b/bicleaner_ai/bicleaner_ai_classifier.py
@@ -50,7 +50,7 @@ def initialization():
args.processes = max(1, cpu_count()-1)
# Try to download the model if not a valid path
- if not args.offline or is_dir:
+ if not args.offline:
from huggingface_hub import snapshot_download, model_info
from huggingface_hub.utils import RepositoryNotFoundError
from requests.exceptions import HTTPError