KrishP-12 commited on
Commit
abfce56
·
verified ·
1 Parent(s): 28b261d

Create setup.sh

Browse files
Files changed (1) hide show
  1. setup.sh +15 -0
setup.sh ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ echo "Updating system package list..."
2
+ sudo apt-get update
3
+
4
+ echo "Installing Tesseract OCR and Poppler utilities..."
5
+ sudo apt-get install -y tesseract-ocr tesseract-ocr-guj poppler-utils
6
+
7
+ if ! command -v python3 &>/dev/null; then
8
+ echo "Python3 is not installed. Installing Python3..."
9
+ sudo apt-get install -y python3 python3-pip
10
+ fi
11
+
12
+ echo "Installing Python dependencies..."
13
+ pip install -r requirements.txt
14
+
15
+ echo "Setup complete!"