Spaces:
Sleeping
Sleeping
Update run.sh
Browse files
run.sh
CHANGED
@@ -4,6 +4,9 @@ set -a && source .env && set +a
|
|
4 |
uvicorn server_openai:app --host localhost --port 8000 &
|
5 |
infinity_emb v2 --model-id mixedbread-ai/mxbai-embed-large-v1 --port 7997 &
|
6 |
cd /app
|
|
|
|
|
|
|
7 |
python -m graphrag.index --init --root ./ragtest
|
8 |
mv settings.yaml ./ragtest
|
9 |
python -m graphrag.index --root ./ragtest
|
|
|
4 |
uvicorn server_openai:app --host localhost --port 8000 &
|
5 |
infinity_emb v2 --model-id mixedbread-ai/mxbai-embed-large-v1 --port 7997 &
|
6 |
cd /app
|
7 |
+
mkdir -p ./ragtest/input
|
8 |
+
curl https://secure.ssa.gov/apps10/poms.nsf/lnx/0500502100 > ./ragtest/input/book.txt
|
9 |
+
curl https://huggingface.co/spaces/npc0/POM-QA/resolve/main/knowledge_extraction.csv > ./ragtest/input/book.txt
|
10 |
python -m graphrag.index --init --root ./ragtest
|
11 |
mv settings.yaml ./ragtest
|
12 |
python -m graphrag.index --root ./ragtest
|