mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Linting
New line at end of config.html Remove debug print statement
This commit is contained in:
parent
6f466c8d99
commit
5d50487d83
2 changed files with 1 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue