sun-pc 2 月之前
父節點
當前提交
959cd6afc2
共有 1 個文件被更改,包括 2 次插入2 次删除
  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: