Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
arnavrneo authored Sep 3, 2023
1 parent ef1f633 commit a715d51
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM tiangolo/uvicorn-gunicorn:python3.7

RUN apt-get update
RUN apt-get update && apt-get install libsm6 libxext6 -y


WORKDIR /appdir


COPY requirements.txt /appdir
RUN pip install --no-cache-dir -r /appdir/requirements.txt

COPY ./server /appdir

ENTRYPOINT ["python", "main.py"]
31 changes: 31 additions & 0 deletions app/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Package requirements
# Usage: pip install -r requirements.txt

# Base ----------------------------------------
matplotlib>=3.2.2
torch>=1.7.0
torchvision>=0.8.1
Pillow>=7.1.2
PyYAML>=5.3.1
requests>=2.23.0
tqdm>=4.64.0
exif==1.6.0

# Plotting ------------------------------------
pandas>=1.1.4
numpy

# Extras --------------------------------------
geopy
psutil # system utilization
haversine
tkintermapview
albumentations>=1.0.3

# Server --------------------------------------
fastapi
uvicorn
python-multipart
nest-asyncio
pyngrok
starlette

0 comments on commit a715d51

Please sign in to comment.