Spaces:
Runtime error
Runtime error
tensorgirl
commited on
Commit
•
45481c8
1
Parent(s):
ba7995e
Update main.py
Browse files
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):
|