From f5aae87f40933ff0f27776c3fc32842d889e1289 Mon Sep 17 00:00:00 2001 From: arkohut <39525455+arkohut@users.noreply.github.com> Date: Tue, 10 Sep 2024 00:54:20 +0800 Subject: [PATCH] feat: use concurrency of 1 by default --- memos/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/memos/config.py b/memos/config.py index b840254..a572e6f 100644 --- a/memos/config.py +++ b/memos/config.py @@ -17,7 +17,7 @@ class VLMSettings(BaseModel): modelname: str = "moondream" endpoint: str = "http://localhost:11434" token: str = "" - concurrency: int = 4 + concurrency: int = 1 force_jpeg: bool = False use_local: bool = True @@ -26,7 +26,7 @@ class OCRSettings(BaseModel): enabled: bool = True endpoint: str = "http://localhost:5555/predict" token: str = "" - concurrency: int = 4 + concurrency: int = 1 use_local: bool = True use_gpu: bool = False force_jpeg: bool = False @@ -71,7 +71,7 @@ class Settings(BaseSettings): # Embedding settings embedding: EmbeddingSettings = EmbeddingSettings() - batchsize: int = 4 + batchsize: int = 1 auth_username: str = "admin" auth_password: SecretStr = SecretStr("changeme")