Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
satrio142 committed May 31, 2024
1 parent 23c26b4 commit 4707254
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,4 @@ async def predict_image(img: UploadFile, response: Response):
traceback.print_exc()
return Response(content=str(e), status_code=500)

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

0 comments on commit 4707254

Please sign in to comment.