xclasscode commited on
Commit
1aeb205
·
verified ·
1 Parent(s): a189601

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -52,7 +52,7 @@ def create_sentiment_result(sentiment_result: schemas.SentimentResultCreate,text
52
  # Convert datetime objects to strings
53
  created_at_str = new_sentiment_result.created_at.strftime("%Y-%m-%dT%H:%M:%SZ")
54
  textinput_dict = {
55
- "id": new_user.id,
56
  "text_input": new_sentiment_result.text_input,
57
  "score": new_sentiment_result.score,
58
  "label": new_sentiment_result.label,
 
52
  # Convert datetime objects to strings
53
  created_at_str = new_sentiment_result.created_at.strftime("%Y-%m-%dT%H:%M:%SZ")
54
  textinput_dict = {
55
+ "id": new_sentiment_result.id,
56
  "text_input": new_sentiment_result.text_input,
57
  "score": new_sentiment_result.score,
58
  "label": new_sentiment_result.label,