Skip to content

Commit

Permalink
reinitalize at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
davidheineman committed Jan 13, 2025
1 parent 2b35f0d commit 297a5ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ def before_request():
http://localhost:8080/api/colbert?query=Information retrevial with BERT
http://localhost:8080/api/search?query=Information retrevial with BERT
"""
init_app()

# Watch web dirs for changes
extra_files = [os.path.join(dirname, filename) for dirname, _, files in os.walk('templates') for filename in files]

Expand Down

0 comments on commit 297a5ef

Please sign in to comment.