Phạm Anh Tuấn commited on
Commit
22d2130
·
1 Parent(s): c5ccd6f

fix string error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ uploaded_file = st.file_uploader("Upload JSON File", type=["json"])
15
  if uploaded_file:
16
  loaded_dict = json.load(uploaded_file)
17
  df = pd.DataFrame(loaded_dict)
18
- st.subheader(len(df)+" sentiment tuples was detected")
19
  st.write(df)
20
 
21
  # Sentiment Distribution Chart
 
15
  if uploaded_file:
16
  loaded_dict = json.load(uploaded_file)
17
  df = pd.DataFrame(loaded_dict)
18
+ st.subheader(f"{len(df)}+ sentiment tuples was detected")
19
  st.write(df)
20
 
21
  # Sentiment Distribution Chart