fadyabila commited on
Commit
57ef87d
1 Parent(s): b25aa06

Final Submission

Browse files
Files changed (1) hide show
  1. prediction.py +3 -3
prediction.py CHANGED
@@ -32,10 +32,10 @@ def forecasting(month):
32
 
33
  # Define the Streamlit app
34
  def run():
35
- st.title("Quantity Forecasting App")
36
 
37
  # Input the number of months to forecast
38
- months_to_forecast = st.slider("How many months to forecast?", 1, 13, 3)
39
 
40
  # Predict button
41
  if st.button("Predict"):
@@ -48,7 +48,7 @@ def run():
48
  ax.plot(quantity_forecast, color='blue', label='Quantity Forecast')
49
  ax.set_xlabel('Date')
50
  ax.set_ylabel('Quantity')
51
- ax.set_title(f"Quantity Forecast for the Next {months_to_forecast} Months")
52
  ax.legend()
53
  st.pyplot(fig)
54
 
 
32
 
33
  # Define the Streamlit app
34
  def run():
35
+ st.title("Quantity Sales Forecasting")
36
 
37
  # Input the number of months to forecast
38
+ months_to_forecast = st.slider("How many weeks to forecast?", 1, 13, 3)
39
 
40
  # Predict button
41
  if st.button("Predict"):
 
48
  ax.plot(quantity_forecast, color='blue', label='Quantity Forecast')
49
  ax.set_xlabel('Date')
50
  ax.set_ylabel('Quantity')
51
+ ax.set_title(f"Quantity Forecast for the Next {months_to_forecast} Weeks")
52
  ax.legend()
53
  st.pyplot(fig)
54