ALYYAN commited on
Commit
a2091f0
·
1 Parent(s): a745e88

updated names

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. dockerfile +1 -1
app.py CHANGED
@@ -95,4 +95,4 @@ async def predictRoute(payload: ImagePayload):
95
  # --- RUN THE APP ---
96
  # This block is for local development. Gunicorn/Uvicorn will run the app in production.
97
  if __name__ == "__main__":
98
- uvicorn.run(app, host="0.0.0.0", port=8080)
 
95
  # --- RUN THE APP ---
96
  # This block is for local development. Gunicorn/Uvicorn will run the app in production.
97
  if __name__ == "__main__":
98
+ uvicorn.run(app, host="0.0.0.0", port=7860)
dockerfile CHANGED
@@ -26,4 +26,4 @@ RUN mkdir model
26
  COPY artifacts/training/best_model.h5 ./model/
27
  COPY --chown=user . /app
28
  EXPOSE 8080
29
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]
 
26
  COPY artifacts/training/best_model.h5 ./model/
27
  COPY --chown=user . /app
28
  EXPOSE 8080
29
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]