Spaces:
Runtime error
Runtime error
Update main.py
Browse files
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":
|
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,
|