Upload folder using huggingface_hub
Browse files- Dockerfile +1 -1
- app.py +1 -1
Dockerfile
CHANGED
|
@@ -16,4 +16,4 @@ COPY . .
|
|
| 16 |
EXPOSE 7860
|
| 17 |
|
| 18 |
# Start API with Gunicorn
|
| 19 |
-
CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:
|
|
|
|
| 16 |
EXPOSE 7860
|
| 17 |
|
| 18 |
# Start API with Gunicorn
|
| 19 |
+
CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:8501", "app:pneumonia_detector_api"]
|
app.py
CHANGED
|
@@ -67,4 +67,4 @@ def predict():
|
|
| 67 |
|
| 68 |
|
| 69 |
if __name__ == "__main__":
|
| 70 |
-
pneumonia_detector_api.run(host="0.0.0.0", port=
|
|
|
|
| 67 |
|
| 68 |
|
| 69 |
if __name__ == "__main__":
|
| 70 |
+
pneumonia_detector_api.run(host="0.0.0.0", port=8501)
|