Skip to content

Commit

Permalink
fix: requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamSilveiraF committed Oct 26, 2023
1 parent 6a5e19e commit 0aa54b4
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 50 deletions.
11 changes: 11 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
__pycache__/
.dockerignore
Dockerfile
*.pyc
*.pyo
*.pyd
.Python
db.sqlite3
*.git
*.vscode
*.pytest_cache
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8

WORKDIR /app

COPY . /app

RUN pip install --no-cache-dir -r requirements.txt

EXPOSE 80

CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
20 changes: 20 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: '3.8'

services:
web:
build: .
image: audio-sentiment-analysis:latest
ports:
- "8000:80"
environment:
- DATABASE_URL=mysql+mysqlconnector://william:Al12N%23assr@localhost/sentimentAnalysis
depends_on:
- db

db:
image: mysql:latest
environment:
- MYSQL_ROOT_PASSWORD=@As12345678
- MYSQL_DATABASE=sentimentAnalysis
- MYSQL_USER=william
- MYSQL_PASSWORD=Al12N#assr
68 changes: 18 additions & 50 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,29 +1,17 @@
aiohttp==3.8.6
aiosignal==1.3.1
annotated-types==0.6.0
anyio==3.7.1
async-timeout==4.0.3
attrs==23.1.0
audioread==3.0.1
beautifulsoup4==4.12.2
cachetools==5.3.2
certifi==2023.7.22
cffi==1.16.0
charset-normalizer==3.3.1
click==8.1.7
cmake==3.27.7
contourpy==1.1.1
cycler==0.12.0
datasets==2.14.6
decorator==5.1.1
dill==0.3.7
dnspython==2.4.2
email-validator==2.1.0.post1
exceptiongroup==1.1.3
fastapi==0.104.0
filelock==3.9.0
filelock==3.12.4
fonttools==4.43.0
frozenlist==1.4.0
fsspec==2023.10.0
google-api-core==2.12.0
google-auth==2.23.3
Expand All @@ -37,88 +25,68 @@ httpcore==0.18.0
httptools==0.6.1
httpx==0.25.0
huggingface-hub==0.17.3
huggingsound==0.1.6
idna==3.4
iniconfig==2.0.0
install==1.3.5
itsdangerous==2.1.2
Jinja2==3.1.2
jiwer==2.6.0
joblib==1.3.2
kiwisolver==1.4.5
librosa==0.9.2
lit==17.0.3
llvmlite==0.41.1
MarkupSafe==2.1.3
matplotlib==3.8.0
more-itertools==10.1.0
mpmath==1.3.0
multidict==6.0.4
multiprocess==0.70.15
mysql-connector-python==8.2.0
networkx==3.0
numba==0.58.1
networkx==3.2
numpy==1.26.0
openai-whisper==20230918
nvidia-cublas-cu12==12.1.3.1
nvidia-cuda-cupti-cu12==12.1.105
nvidia-cuda-nvrtc-cu12==12.1.105
nvidia-cuda-runtime-cu12==12.1.105
nvidia-cudnn-cu12==8.9.2.26
nvidia-cufft-cu12==11.0.2.54
nvidia-curand-cu12==10.3.2.106
nvidia-cusolver-cu12==11.4.5.107
nvidia-cusparse-cu12==12.1.0.106
nvidia-nccl-cu12==2.18.1
nvidia-nvjitlink-cu12==12.3.52
nvidia-nvtx-cu12==12.1.105
orjson==3.9.9
packaging==23.2
pandas==2.1.1
Pillow==10.0.1
platformdirs==3.11.0
pluggy==1.3.0
pooch==1.8.0
proto-plus==1.22.3
protobuf==4.21.12
pyarrow==13.0.0
pyasn1==0.5.0
pyasn1-modules==0.3.0
pycparser==2.21
pydantic==2.4.2
pydantic-extra-types==2.1.0
pydantic-settings==2.0.3
pydantic_core==2.10.1
pydub==0.25.1
PyMySQL==1.1.0
pyparsing==3.1.1
pytest==7.4.3
python-dateutil==2.8.2
python-decouple==3.8
python-dotenv==1.0.0
python-multipart==0.0.6
pytz==2023.3.post1
PyYAML==6.0.1
rapidfuzz==2.13.7
regex==2023.10.3
requests==2.31.0
resampy==0.4.2
rsa==4.9
safetensors==0.4.0
scikit-learn==1.3.2
scipy==1.11.3
six==1.16.0
sniffio==1.3.0
soundfile==0.12.1
soupsieve==2.5
SQLAlchemy==2.0.22
starlette==0.27.0
sympy==1.12
threadpoolctl==3.2.0
tiktoken==0.3.3
tokenizers==0.14.1
tomli==2.0.1
torch==1.12.1
torchaudio==2.1.0+cu118
torchvision==0.16.0+cu118
torch==2.1.0
torchaudio==2.1.0
torchvision==0.16.0
tqdm==4.66.1
transformers==4.34.1
triton==2.0.0
triton==2.1.0
typing_extensions==4.8.0
tzdata==2023.3
ujson==5.8.0
urllib3==2.0.7
uvicorn==0.23.2
uvloop==0.19.0
watchfiles==0.21.0
websockets==12.0
xxhash==3.4.1
yarl==1.9.2

0 comments on commit 0aa54b4

Please sign in to comment.