iamironman4279 commited on
Commit
83813ad
1 Parent(s): a193f32

Upload 2 files

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. Dockerfile.txt +21 -0
  3. weights.hdf5 +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ weights.hdf5 filter=lfs diff=lfs merge=lfs -text
Dockerfile.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official Python image as the base image
2
+ FROM python:3.9-slim
3
+
4
+ # Set the working directory in the container
5
+ WORKDIR /app
6
+
7
+ # Copy the current directory contents into the container at /app
8
+ COPY . /app
9
+
10
+ # Install necessary dependencies
11
+ RUN apt-get update && apt-get install -y libgl1-mesa-glx && \
12
+ pip install --no-cache-dir flask pymongo opencv-python-headless tensorflow==2.15.0
13
+
14
+ # Expose port 5000 to the outside world
15
+ EXPOSE 5000
16
+
17
+ # Define environment variable
18
+ ENV FLASK_APP=app.py
19
+
20
+ # Run the Flask application
21
+ CMD ["flask", "run", "--host=0.0.0.0"]
weights.hdf5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d697cc0d77ad1f271e46488b9e2fbdc44c0a22fe016d6a9b7d9724901806ab7a
3
+ size 3251816