Spaces:
Runtime error
Runtime error
Update schemas.py
Browse files- schemas.py +2 -1
schemas.py
CHANGED
|
@@ -9,9 +9,10 @@ class SentimentResultCreate(SentimentResultBase):
|
|
| 9 |
|
| 10 |
class SentimentResult(SentimentResultBase):
|
| 11 |
id: int
|
| 12 |
-
|
| 13 |
score: float
|
| 14 |
label: str
|
|
|
|
| 15 |
|
| 16 |
# Ensure SentimentResult inherits from BaseModel
|
| 17 |
SentimentResultBase.update_forward_refs()
|
|
|
|
| 9 |
|
| 10 |
class SentimentResult(SentimentResultBase):
|
| 11 |
id: int
|
| 12 |
+
text_input: str
|
| 13 |
score: float
|
| 14 |
label: str
|
| 15 |
+
created_at: datetime
|
| 16 |
|
| 17 |
# Ensure SentimentResult inherits from BaseModel
|
| 18 |
SentimentResultBase.update_forward_refs()
|