Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def print_sentiment_summery(df) :
|
|
| 51 |
st.dataframe(df_sentiment, hide_index =True )
|
| 52 |
return df_sentiment
|
| 53 |
|
| 54 |
-
|
| 55 |
print(df_new.to_string())
|
| 56 |
|
| 57 |
def print_stock_info(stock_info):
|
|
@@ -86,6 +86,22 @@ def plot_graph(stock_info):
|
|
| 86 |
plt.title(f"{name} Stock Price")
|
| 87 |
return plt
|
| 88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
st.title('_SentySense_') #PriceProphet, Sentyment, Trendsetter Bullseye
|
| 90 |
par1 = "It allows users to stay informed about the latest market trends and make informed decisions about their investments."
|
| 91 |
par2 = "To get started, simply select whether you want information on currencies or stocks:<br> "\
|
|
|
|
| 51 |
st.dataframe(df_sentiment, hide_index =True )
|
| 52 |
return df_sentiment
|
| 53 |
|
| 54 |
+
|
| 55 |
print(df_new.to_string())
|
| 56 |
|
| 57 |
def print_stock_info(stock_info):
|
|
|
|
| 86 |
plt.title(f"{name} Stock Price")
|
| 87 |
return plt
|
| 88 |
|
| 89 |
+
st.set_page_config(page_title="Senty Sense")
|
| 90 |
+
st.markdown(
|
| 91 |
+
"""
|
| 92 |
+
<style>
|
| 93 |
+
.appview-container .main .block-container {{
|
| 94 |
+
padding-top: {padding_top}rem;
|
| 95 |
+
padding-bottom: {padding_bottom}rem;
|
| 96 |
+
}}
|
| 97 |
+
|
| 98 |
+
</style>""".format(
|
| 99 |
+
padding_top=1, padding_bottom=1
|
| 100 |
+
),
|
| 101 |
+
unsafe_allow_html=True,
|
| 102 |
+
)
|
| 103 |
+
|
| 104 |
+
|
| 105 |
st.title('_SentySense_') #PriceProphet, Sentyment, Trendsetter Bullseye
|
| 106 |
par1 = "It allows users to stay informed about the latest market trends and make informed decisions about their investments."
|
| 107 |
par2 = "To get started, simply select whether you want information on currencies or stocks:<br> "\
|