Skip to content

Commit

Permalink
Add host and port to uvicorn.run() call
Browse files Browse the repository at this point in the history
  • Loading branch information
Zingzy committed Jan 18, 2024
1 parent c1f4630 commit 4b8b73c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ async def get_image(file_name: str, cache: TTLCache = Depends(create_cache)):


if __name__ == "__main__":
uvicorn.run(app)
uvicorn.run(app, host='0.0.0.0', port=8000)

0 comments on commit 4b8b73c

Please sign in to comment.