Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -18,4 +18,4 @@ async def root():
|
|
| 18 |
|
| 19 |
@app.post("/AutomateReview/")
|
| 20 |
async def predict(item: Item):
|
| 21 |
-
return predict(item.dict())
|
|
|
|
| 18 |
|
| 19 |
@app.post("/AutomateReview/")
|
| 20 |
async def predict(item: Item):
|
| 21 |
+
return {"answer":predict(item.dict())}
|