Basti8499's picture
Adds all necessary files
579ab0b verified
raw
history blame contribute delete
569 Bytes
#!/bin/bash
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."