Topallaj Denis commited on
Commit
b2db8be
·
1 Parent(s): 4fe4112

change to post

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -34,7 +34,7 @@ class Item(pydantic.BaseModel):
34
  def index() -> FileResponse:
35
  return FileResponse(path="/app/static/index.html", media_type="text/html")
36
 
37
- @app.get("/unikp-predict")
38
  def predict(item: Item):
39
 
40
  sequence = item.sequence
 
34
  def index() -> FileResponse:
35
  return FileResponse(path="/app/static/index.html", media_type="text/html")
36
 
37
+ @app.post("/unikp-predict")
38
  def predict(item: Item):
39
 
40
  sequence = item.sequence