M17idd commited on
Commit
1dae352
·
1 Parent(s): 1839dcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -567,7 +567,7 @@ book_embeddings = load_embeddings_from_cache()
567
 
568
  if query:
569
  found = False
570
- threshold =66
571
 
572
  # بررسی اینکه آیا امبدینگ‌های سوال قبلاً محاسبه شده یا خیر
573
  query_embedding = model.encode(query, convert_to_tensor=True)
 
567
 
568
  if query:
569
  found = False
570
+ threshold =0.7
571
 
572
  # بررسی اینکه آیا امبدینگ‌های سوال قبلاً محاسبه شده یا خیر
573
  query_embedding = model.encode(query, convert_to_tensor=True)