Spaces:
Runtime error
Runtime error
Commit ·
37d477c
1
Parent(s): 64c321d
Update models.py
Browse files
models.py
CHANGED
|
@@ -7,7 +7,7 @@ class SentimentResult(database.Base):
|
|
| 7 |
__tablename__ = "sentiment_results"
|
| 8 |
|
| 9 |
id = Column(Integer, primary_key=True, index=True)
|
| 10 |
-
|
| 11 |
positive_score = Column(Float)
|
| 12 |
negative_score = Column(Float)
|
| 13 |
neutral_score = Column(Float)
|
|
|
|
| 7 |
__tablename__ = "sentiment_results"
|
| 8 |
|
| 9 |
id = Column(Integer, primary_key=True, index=True)
|
| 10 |
+
text = Column(String
|
| 11 |
positive_score = Column(Float)
|
| 12 |
negative_score = Column(Float)
|
| 13 |
neutral_score = Column(Float)
|