Roozeec commited on
Commit
e6f761a
1 Parent(s): fdf917e

update code

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -25,6 +25,9 @@ if st.button("Search"):
25
  st.dataframe(df)
26
  # get each title colums
27
  sentences = df["title"]
 
 
 
28
  model_outputs = classifier(sentences)
29
  st.write(model_outputs[0])
30
 
 
25
  st.dataframe(df)
26
  # get each title colums
27
  sentences = df["title"]
28
+ # convert into array
29
+ sentences = sentences.tolist()
30
+ st.write(sentences)
31
  model_outputs = classifier(sentences)
32
  st.write(model_outputs[0])
33