sanbo commited on
Commit
efa3aca
·
1 Parent(s): 5f6fa69

update sth. at 2025-03-03 19:33:12

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ class EmbeddingService:
77
  self.logger.error(f"模型初始化失败: {str(e)}")
78
  raise
79
 
80
- @lru_cache(maxsize=1000)
81
  def get_embedding(self, text: str) -> List[float]:
82
  with self.lock:
83
  try:
 
77
  self.logger.error(f"模型初始化失败: {str(e)}")
78
  raise
79
 
80
+
81
  def get_embedding(self, text: str) -> List[float]:
82
  with self.lock:
83
  try: