Skip to content

Commit

Permalink
api updated
Browse files Browse the repository at this point in the history
  • Loading branch information
arun477 committed Sep 14, 2023
1 parent 27ed54f commit fccfd79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
async def root():
return FileResponse("static/index.html")

@app.get("/predict")
@app.post("/predict")
async def predict():
return {"prediction": "Hello, World!"}

0 comments on commit fccfd79

Please sign in to comment.