tensorgirl commited on
Commit
6aebca7
·
verified ·
1 Parent(s): 5feeb45

Update main.py

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