Skip to content

Commit

Permalink
fix: updated query_engine
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsahMohammad committed May 4, 2024
1 parent d6c5d57 commit e2d3785
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions local_search.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@ source .env/bin/activate
pip install -r requirements.txt
clear
echo "Installation done"
python3 -m src.phantom_indexing
echo "Phantom Processing done"
clear
python3 -m src.query_engine
4 changes: 2 additions & 2 deletions src/query_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


class Phantom_Query:
def __init__(self, filename="src/indexed.json", titles=None):
def __init__(self, filename="indexed.json", titles=None):

self.showlogs = True
self.title_table = False
Expand Down Expand Up @@ -63,5 +63,5 @@ def run(self):


if __name__ == "__main__":
query_engine = Phantom_Query("src/indexed.json")
query_engine = Phantom_Query("indexed.json")
query_engine.run()

0 comments on commit e2d3785

Please sign in to comment.