fixed code v2

This commit is contained in:
SlimusMinus
2026-08-06 23:45:38 +03:00
parent fdf2e2a8d5
commit 4c32c5f4dd
7 changed files with 598 additions and 7 deletions

View File

@@ -21,7 +21,6 @@ class Settings(BaseSettings):
NSFW_THRESHOLD: float = 0.85
IMAGE_CLIP_MODEL: str = "openai/clip-vit-base-patch32"
CLIP_THRESHOLD: float = 0.75
HF_TOKEN: str = "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"
MODEL_CACHE_DIR: str = "./models"
DEVICE: str = "auto"