Spaces:
Sleeping
Sleeping
Coder commited on
Commit ·
028caff
1
Parent(s): 3726ea1
initial commit
Browse files
app.py
CHANGED
|
@@ -91,9 +91,9 @@ def main():
|
|
| 91 |
if sentiment == 'Positive':
|
| 92 |
st.success(f'**Predicted Price:** {latest_forecast['yhat']:.2f}. **Range:** {latest_forecast['yhat_lower']:.2f} - {latest_forecast['yhat_upper']:.2f} \nOverall predication indicates positive sentiment for {forecast_horizon.lower()} time frame.')
|
| 93 |
elif sentiment == 'Negative':
|
| 94 |
-
st.error(f'
|
| 95 |
else:
|
| 96 |
-
st.info(f'
|
| 97 |
|
| 98 |
st.markdown(f"""
|
| 99 |
**Find below the prediction Data for the {forecast_horizon.lower()}:**
|
|
|
|
| 91 |
if sentiment == 'Positive':
|
| 92 |
st.success(f'**Predicted Price:** {latest_forecast['yhat']:.2f}. **Range:** {latest_forecast['yhat_lower']:.2f} - {latest_forecast['yhat_upper']:.2f} \nOverall predication indicates positive sentiment for {forecast_horizon.lower()} time frame.')
|
| 93 |
elif sentiment == 'Negative':
|
| 94 |
+
st.error(f'**Predicted Price:** {latest_forecast['yhat']:.2f}. **Range:** {latest_forecast['yhat_lower']:.2f} - {latest_forecast['yhat_upper']:.2f} \nOverall predication indicates negative sentiment for {forecast_horizon.lower()} time frame.')
|
| 95 |
else:
|
| 96 |
+
st.info(f'**Predicted Price:** {latest_forecast['yhat']:.2f}. **Range:** {latest_forecast['yhat_lower']:.2f} - {latest_forecast['yhat_upper']:.2f} \nOverall predication indicates neutral sentiment for {forecast_horizon.lower()} time frame.')
|
| 97 |
|
| 98 |
st.markdown(f"""
|
| 99 |
**Find below the prediction Data for the {forecast_horizon.lower()}:**
|