New line at end of config.html
Remove debug print statement
This commit is contained in:
Saba 2021-11-28 13:32:56 -05:00
parent 6f466c8d99
commit 5d50487d83
2 changed files with 1 additions and 2 deletions

View file

@ -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)

View file

@ -9,4 +9,4 @@
<button id="config-regenerate">regenerate</button>
</body>
<script src="views/scripts/config.js"></script>
</html>
</html>