mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19: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')
|
||||
def regenerate(t: Optional[SearchType] = None):
|
||||
print("-----REGENERATING----")
|
||||
if (t == SearchType.Notes or t == None) and search_config.notes:
|
||||
# Extract Entries, Generate Embeddings
|
||||
model.notes_search = asymmetric.setup(search_config.notes, regenerate=True)
|
||||
|
||||
@@ -9,4 +9,4 @@
|
||||
<button id="config-regenerate">regenerate</button>
|
||||
</body>
|
||||
<script src="views/scripts/config.js"></script>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user