xclasscode commited on
Commit
6b58d7e
·
verified ·
1 Parent(s): 3790fed

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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
- "createdAt": created_at_str,
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)