Skip to content

Commit

Permalink
setting host api
Browse files Browse the repository at this point in the history
  • Loading branch information
axeltanjung committed Jul 23, 2023
1 parent 0feef2c commit 2ef299b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ def predict(data: api_data):
#return {"res" : y_pred, "error_msg": ""}

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

0 comments on commit 2ef299b

Please sign in to comment.