tensorgirl commited on
Commit
45481c8
1 Parent(s): ba7995e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -21,7 +21,7 @@ async def root():
21
 
22
  @app.post("/AutomateReview/")
23
  def predict(item: Item):
24
- result = predict(item)
25
  return {"answer":result}
26
 
27
  #async def predict(item: Item):
 
21
 
22
  @app.post("/AutomateReview/")
23
  def predict(item: Item):
24
+ result = predict(item.code)
25
  return {"answer":result}
26
 
27
  #async def predict(item: Item):