Topallaj Denis commited on
Commit
94e262e
·
1 Parent(s): f594ac0

make main endpoint post

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -26,7 +26,7 @@ class Item(pydantic.BaseModel):
26
  sequence: str
27
  smiles: str
28
 
29
- @app.get("/")
30
  def predict(item: Item):
31
 
32
  endpointHandler = EndpointHandler()
 
26
  sequence: str
27
  smiles: str
28
 
29
+ @app.post("/predict")
30
  def predict(item: Item):
31
 
32
  endpointHandler = EndpointHandler()