tensorgirl commited on
Commit
5feeb45
·
verified ·
1 Parent(s): 03fa974

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -18,4 +18,5 @@ async def root():
18
 
19
  @app.post("/AutomateReview/")
20
  async def predict(item: Item):
21
- return {"answer":predict(item.dict())}
 
 
18
 
19
  @app.post("/AutomateReview/")
20
  async def predict(item: Item):
21
+ result = await predict(item.dict())
22
+ return {"answer":result}