Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTheDev committed Aug 15, 2024
1 parent e4afeb7 commit 0084c65
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,9 @@ async def serve_file(file_path: str):
return StreamingResponse(converted_image, media_type=f"image/{file_extension}")

raise HTTPException(status_code=404, detail="File not found")


if __name__ == "__main__":
import uvicorn

uvicorn.run(app, host="0.0.0.0", port=80)

0 comments on commit 0084c65

Please sign in to comment.