Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-07-04 15:31:58 +02:00
parent db26b77909
commit 4bd0c39133
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ class APIProcess:
boxes = []
labels = []
with self.queue_lock:
items = shared.detailer.predict(req.model, image)
items = shared.detailer.predict(req.model, req.model, image)
for item in items:
images.append(encode_pil_to_base64(item.item))
scores.append(item.score)
+1 -1
View File
@@ -50,7 +50,7 @@ def stat(path: str):
latest_mtime = entry_stat.st_mtime
if entry.is_symlink():
continue
elif entry.is_file():
if entry.is_file():
total_size += entry_stat.st_size
elif entry.is_dir():
sub_size, sub_mtime = stat(entry.path) # Recursively scan subfolders
+1 -1
View File
@@ -30,7 +30,7 @@ requests==2.34.2
tqdm==4.68.3
accelerate==1.14.0
einops==0.8.2
huggingface_hub==1.21.0
huggingface_hub==1.22.0
hf_xet==1.5.1
numpy==2.1.2
pandas==2.3.1