Spaces:
Sleeping
Sleeping
python -m venv venv | |
source venv/bin/activate | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121 | |
echo "Initialization completed." | |
# Creating all necessary directories at once | |
mkdir -p ./inputData/PDF/files \ | |
./inputData/PDF/PDF_images \ | |
./inputData/Templates/template_files/new \ | |
./inputData/Templates/template_files/processed \ | |
./chroma | |
echo "Directories and necessary files created." |