viveksardey commited on
Commit
82084db
·
verified ·
1 Parent(s): 96ce81f

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. 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:7860", "app:pneumonia_detector_api"]
 
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=7860)
 
67
 
68
 
69
  if __name__ == "__main__":
70
+ pneumonia_detector_api.run(host="0.0.0.0", port=8501)