Skip to content

Commit dbf5b75

Browse files
committed
Fix FastAPI host for Docker and EC2
1 parent cbb7b71 commit dbf5b75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ async def chat(request: Request, pdf_filename: str = Form(...)):
7272
return res
7373

7474
if __name__ == "__main__":
75-
uvicorn.run("app:app", host="localhost", port=8080, reload=True)
75+
uvicorn.run("app:app", host="0.0.0.0", port=8080)

0 commit comments

Comments
 (0)