Skip to content

Commit

Permalink
fix: adde nltk dowbload in search
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsahMohammad committed May 9, 2024
1 parent 1d294a2 commit c6cc97b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion search.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ python3 -m venv .env
source .env/bin/activate

pip install -r requirements.txt

python3 -m nltk.downloader stopwords
python3 -m nltk.downloader punkt

export IDF_CONTENT=0
export IDF_TITLE=1
export CHUNK_SIZE=500
export CHUNK_LIMIT=2000

echo "running the server"

# python3 phantom.py
gunicorn -w 1 server:app

0 comments on commit c6cc97b

Please sign in to comment.