Spaces:
Running
Running
Commit
·
c491fde
1
Parent(s):
5c50e05
Fix app
Browse files
app.py
CHANGED
@@ -283,10 +283,10 @@ if (st.session_state.uploaded):
|
|
283 |
|
284 |
|
285 |
# Streamlit plot
|
286 |
-
st.title("
|
287 |
st.line_chart(df['Sales'][-50:])
|
288 |
-
st.line_chart(future_fitted_series, use_container_width=True
|
289 |
-
st.area_chart(pd.concat([future_lower_series, future_upper_series], axis=1),
|
290 |
|
291 |
auto_sales_growth = sales_growth(df, future_fitted_series)
|
292 |
df = auto_sales_growth
|
@@ -297,7 +297,6 @@ if (st.session_state.uploaded):
|
|
297 |
st.write("Forecasted sales in the next 3 months")
|
298 |
st.write(df)
|
299 |
|
300 |
-
|
301 |
question = st.text_input('Ask a Question about the Forecasted Data', placeholder="What is the total sales in the month of December?")
|
302 |
answer = get_converted_answer(df, question)
|
303 |
st.write('The answer for that is:', answer)
|
|
|
283 |
|
284 |
|
285 |
# Streamlit plot
|
286 |
+
st.title("Forecasted Sales")
|
287 |
st.line_chart(df['Sales'][-50:])
|
288 |
+
st.line_chart(future_fitted_series, use_container_width=True)
|
289 |
+
st.area_chart(pd.concat([future_lower_series, future_upper_series], axis=1), color="#808080")
|
290 |
|
291 |
auto_sales_growth = sales_growth(df, future_fitted_series)
|
292 |
df = auto_sales_growth
|
|
|
297 |
st.write("Forecasted sales in the next 3 months")
|
298 |
st.write(df)
|
299 |
|
|
|
300 |
question = st.text_input('Ask a Question about the Forecasted Data', placeholder="What is the total sales in the month of December?")
|
301 |
answer = get_converted_answer(df, question)
|
302 |
st.write('The answer for that is:', answer)
|