Sakshiw1 commited on
Commit
df9e01a
·
verified ·
1 Parent(s): cd1207f

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile +16 -0
  2. requirements.txt +4 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM huggingface/transformers-pytorch-gpu
2
+
3
+ # Install Tesseract
4
+ RUN apt-get update && apt-get install -y tesseract-ocr tesseract-ocr-hin tesseract-ocr-eng
5
+
6
+ # Set the working directory
7
+ WORKDIR /app
8
+
9
+ # Copy your application files
10
+ COPY . .
11
+
12
+ # Install Python dependencies
13
+ RUN pip install -r requirements.txt
14
+
15
+ # Set the command to run your app
16
+ CMD ["streamlit", "run", "app.py"]
requirements.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ pytesseract
2
+ Pillow
3
+ gradio
4
+ streamlit