chore: change text output
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ def load_image_processor():
|
||||
model_path = BASE_DIR / "emoset_resnet50_best.pth"
|
||||
|
||||
if not model_path.exists():
|
||||
print(f"❌ КРИТИЧЕСКАЯ ОШИБКА: Веса не найдены по пути: {model_path}")
|
||||
print(f"Ошибка: Веса не найдены по пути: {model_path}")
|
||||
# Если не нашли в src, попробуем поискать в корне проекта на всякий случай
|
||||
model_path = BASE_DIR.parent / "emoset_resnet50_best.pth"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user