xclasscode commited on
Commit
df5de91
·
1 Parent(s): 062c36e

Update models.py

Browse files
Files changed (1) hide show
  1. models.py +2 -2
models.py CHANGED
@@ -8,6 +8,6 @@ class SentimentResult(database.Base):
8
 
9
  id = Column(Integer, primary_key=True, index=True)
10
  text_input = Column(String)
11
- positive_score = Column(Float)
12
- negative_score = Column(Float)
13
  created_at = Column(DateTime, default=datetime.utcnow)
 
8
 
9
  id = Column(Integer, primary_key=True, index=True)
10
  text_input = Column(String)
11
+ score = Column(Float)
12
+ label = Column(String)
13
  created_at = Column(DateTime, default=datetime.utcnow)