Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -186,7 +186,7 @@ def article_sentiment(arti):
|
|
186 |
|
187 |
|
188 |
st.markdown(md_intro)
|
189 |
-
|
190 |
with tab_pred:
|
191 |
st.write("This is a sentiment prediction module.\nPlease enter your news link into the textbox.\nSentiment prediction will be returned shortly!.\nExample link: https://www.bbc.com/news/technology-68818113")
|
192 |
newslink = st.chat_input(placeholder="Please input CNN/BBC/CNBC link")
|
|
|
186 |
|
187 |
|
188 |
st.markdown(md_intro)
|
189 |
+
tab_pred, tab_news = st.tabs(["Sentiment Prediction", "News Report"])
|
190 |
with tab_pred:
|
191 |
st.write("This is a sentiment prediction module.\nPlease enter your news link into the textbox.\nSentiment prediction will be returned shortly!.\nExample link: https://www.bbc.com/news/technology-68818113")
|
192 |
newslink = st.chat_input(placeholder="Please input CNN/BBC/CNBC link")
|