Spaces:
Running
Running
added sentences
Browse files
app.py
CHANGED
@@ -23,6 +23,8 @@ classifier = pipeline(task="text-classification", model="SamLowe/roberta-base-go
|
|
23 |
if st.button("Search"):
|
24 |
df = wna.get_news(settings, query)
|
25 |
st.dataframe(df)
|
|
|
|
|
26 |
sentences = ["I am not having a great day"]
|
27 |
model_outputs = classifier(sentences)
|
28 |
st.write(model_outputs[0])
|
|
|
23 |
if st.button("Search"):
|
24 |
df = wna.get_news(settings, query)
|
25 |
st.dataframe(df)
|
26 |
+
# get each title colums
|
27 |
+
|
28 |
sentences = ["I am not having a great day"]
|
29 |
model_outputs = classifier(sentences)
|
30 |
st.write(model_outputs[0])
|