Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -59,7 +59,7 @@ def create_sentiment_result(sentiment_result: schemas.SentimentResultCreate,text
|
|
59 |
"created_at": created_at_str,
|
60 |
}
|
61 |
|
62 |
-
return JSONResponse(content=
|
63 |
|
64 |
except Exception as e:
|
65 |
raise HTTPException(
|
|
|
59 |
"created_at": created_at_str,
|
60 |
}
|
61 |
|
62 |
+
return JSONResponse(content=textinput_dict, status_code=status.HTTP_201_CREATED)
|
63 |
|
64 |
except Exception as e:
|
65 |
raise HTTPException(
|