PrashantGoyal commited on
Commit
7fea159
·
1 Parent(s): 2912462

minor details fixed

Browse files
Files changed (2) hide show
  1. App/app.py +0 -2
  2. Dockerfile +1 -1
App/app.py CHANGED
@@ -72,6 +72,4 @@ async def text_to_speech(payload: dict):
72
  def health():
73
  return {"status": "ok"}
74
 
75
- if __name__ == "__main__":
76
- uvicorn.run("App.app:app", host="0.0.0.0", port=8000, reload=True)
77
 
 
72
  def health():
73
  return {"status": "ok"}
74
 
 
 
75
 
Dockerfile CHANGED
@@ -21,5 +21,5 @@ RUN python -m pip install --upgrade pip setuptools wheel \
21
 
22
  COPY . .
23
 
24
- CMD ["python", "-m", "App.app"]
25
 
 
21
 
22
  COPY . .
23
 
24
+ CMD ["uvicorn", "App.app:app", "--host", "0.0.0.0", "--port", "7860"]
25