We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 988b13b commit 5b699f1Copy full SHA for 5b699f1
app/main.py
@@ -46,10 +46,3 @@ async def classify_api(request: Request):
46
return JSONResponse(content={"prediction": prediction})
47
48
return JSONResponse(content={"prediction": "No text provided."})
49
-
50
51
- return JSONResponse(content={"prediction": prediction})
52
53
- return JSONResponse(content={"prediction": "No text provided."})
54
55
0 commit comments