Spaces:
Runtime error
Runtime error
Topallaj Denis
commited on
Commit
·
94e262e
1
Parent(s):
f594ac0
make main endpoint post
Browse files
main.py
CHANGED
@@ -26,7 +26,7 @@ class Item(pydantic.BaseModel):
|
|
26 |
sequence: str
|
27 |
smiles: str
|
28 |
|
29 |
-
@app.
|
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()
|