GOGO198 commited on
Commit
4120f6a
·
verified ·
1 Parent(s): 43cc5f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ def predict(vector):
92
  # print(f"处理时间: {time.time() - start_time:.2f}秒")
93
  # return answer
94
 
95
- # 如果遇到资源瓶颈,使用纯检索方案
96
  vector = np.array(vector, dtype=np.float32).reshape(1, -1)
97
 
98
  # FAISS 搜索
 
92
  # print(f"处理时间: {time.time() - start_time:.2f}秒")
93
  # return answer
94
 
95
+ # 如果遇到资源瓶颈,使用纯检索方案1
96
  vector = np.array(vector, dtype=np.float32).reshape(1, -1)
97
 
98
  # FAISS 搜索