Spaces:
Running
Running
update code
Browse files
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 |
|