File size: 569 Bytes
579ab0b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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."