Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
arun477 committed Sep 14, 2023
1 parent bfc39e7 commit 9aa266f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

app = FastAPI()

@app.post("/predict")
@app.get("/predict")
async def predict():
return {"prediction": "Hello, World!"}
2 changes: 1 addition & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"builds": [
{
"src": "main.py",
"src": "server.py",
"use": "@vercel/python"
}
],
Expand Down

0 comments on commit 9aa266f

Please sign in to comment.