Spaces:
Running
Running
Commit
·
19ab69c
1
Parent(s):
c536947
update to use gunicorn with flask
Browse files- Dockerfile +1 -1
- requirements.txt +1 -1
Dockerfile
CHANGED
@@ -11,4 +11,4 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
11 |
|
12 |
COPY --chown=user . /app
|
13 |
|
14 |
-
CMD ["
|
|
|
11 |
|
12 |
COPY --chown=user . /app
|
13 |
|
14 |
+
CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:7860", "app:app"]
|
requirements.txt
CHANGED
@@ -10,4 +10,4 @@ transformers
|
|
10 |
librosa
|
11 |
matplotlib
|
12 |
statsmodels
|
13 |
-
|
|
|
10 |
librosa
|
11 |
matplotlib
|
12 |
statsmodels
|
13 |
+
gunicorn
|