mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 05:39:12 +00:00
Linting
New line at end of config.html Remove debug print statement
This commit is contained in:
@@ -92,7 +92,6 @@ def search(q: str, n: Optional[int] = 5, t: Optional[SearchType] = None):
|
|||||||
|
|
||||||
@app.get('/regenerate')
|
@app.get('/regenerate')
|
||||||
def regenerate(t: Optional[SearchType] = None):
|
def regenerate(t: Optional[SearchType] = None):
|
||||||
print("-----REGENERATING----")
|
|
||||||
if (t == SearchType.Notes or t == None) and search_config.notes:
|
if (t == SearchType.Notes or t == None) and search_config.notes:
|
||||||
# Extract Entries, Generate Embeddings
|
# Extract Entries, Generate Embeddings
|
||||||
model.notes_search = asymmetric.setup(search_config.notes, regenerate=True)
|
model.notes_search = asymmetric.setup(search_config.notes, regenerate=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user