sun-pc 2 months ago
parent
commit
959cd6afc2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main.py

+ 2 - 2
src/main.py

@@ -111,8 +111,8 @@ async def search_images(
     partition_names: list = [],
     url: str = None,
     limit: int = TOP_K,
-    min_score: float = None,
-    max_score: float = None
+    min_score: float = 0.0,
+    max_score: float = 1.0
 ):
     try:
         if url is not None: