KishanKumar001
commited on
Commit
·
5f8a61a
1
Parent(s):
df6e5ca
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,6 @@ user_query = st.text_area("Enter your text:")
|
|
19 |
if st.button("Analyze Sentiment"):
|
20 |
output = query({"inputs": user_query})
|
21 |
st.text("Sentiment Analysis Output:")
|
22 |
-
st.text(output[0]['label'])
|
23 |
|
24 |
|
|
|
19 |
if st.button("Analyze Sentiment"):
|
20 |
output = query({"inputs": user_query})
|
21 |
st.text("Sentiment Analysis Output:")
|
22 |
+
st.text(output[0][0]['label'])
|
23 |
|
24 |
|