SSahas commited on
Commit
26fb84c
·
1 Parent(s): a2d87f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ if st.button("Predict"):
42
  body_len = len(text) - text.count(" ")
43
  punct = count_punct(text)
44
  #k = {"body_len": [body_len], "punc%": [punct]}
45
- k = {body_len: [body_len], punc%: [punct]}
46
  df = pd.DataFrame(k)
47
  #df.columns = df.columns.astype(str)
48
  test_vect = pd.concat([df.reset_index(drop=True),
 
42
  body_len = len(text) - text.count(" ")
43
  punct = count_punct(text)
44
  #k = {"body_len": [body_len], "punc%": [punct]}
45
+ k = {"body_len": [body_len], "punc%": [punct]}
46
  df = pd.DataFrame(k)
47
  #df.columns = df.columns.astype(str)
48
  test_vect = pd.concat([df.reset_index(drop=True),