nlpblogs commited on
Commit
caa0733
·
verified ·
1 Parent(s): 4bdfac8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -131,7 +131,7 @@ if st.button("Sentiment Analysis", type="secondary"):
131
  timestamp = "Timestamp not found"
132
  if timestamp_elements:
133
  timestamp = timestamp_elements[0].text
134
- data.append({"User ID": user_id, "Comment": comment.text, "comment_date": timestamp}
135
  user_id += 1
136
  data = [dict(t) for t in {tuple(d.items()) for d in data}]
137
 
 
131
  timestamp = "Timestamp not found"
132
  if timestamp_elements:
133
  timestamp = timestamp_elements[0].text
134
+ data.append({"User ID": user_id, "Comment": comment.text, "comment_date": timestamp})
135
  user_id += 1
136
  data = [dict(t) for t in {tuple(d.items()) for d in data}]
137