Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -56,7 +56,7 @@ def create_sentiment_result(sentiment_result: schemas.SentimentResultCreate,text
|
|
56 |
"text_input": new_sentiment_result.text_input,
|
57 |
"score": new_sentiment_result.score,
|
58 |
"label": new_sentiment_result.label,
|
59 |
-
"
|
60 |
}
|
61 |
|
62 |
return JSONResponse(content=text_input_dict, status_code=status.HTTP_201_CREATED)
|
|
|
56 |
"text_input": new_sentiment_result.text_input,
|
57 |
"score": new_sentiment_result.score,
|
58 |
"label": new_sentiment_result.label,
|
59 |
+
"created_at": created_at_str,
|
60 |
}
|
61 |
|
62 |
return JSONResponse(content=text_input_dict, status_code=status.HTTP_201_CREATED)
|