NavyDevilDoc commited on
Commit
808a777
·
verified ·
1 Parent(s): 7718ecd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ def recursive_chunking(text, source, chunk_size=500, overlap=100):
93
 
94
  # --- CORE SEARCH ENGINE ---
95
  class DocSearchEngine:
96
- def __init__(self):def __init__(self):
97
  # Force CPU and DISABLE "Meta Device" loading for both models
98
  self.bi_encoder = SentenceTransformer(
99
  'all-MiniLM-L6-v2',
 
93
 
94
  # --- CORE SEARCH ENGINE ---
95
  class DocSearchEngine:
96
+ def __init__(self):
97
  # Force CPU and DISABLE "Meta Device" loading for both models
98
  self.bi_encoder = SentenceTransformer(
99
  'all-MiniLM-L6-v2',