area444 commited on
Commit
8ab6ab6
·
verified ·
1 Parent(s): 3d0960f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -169,13 +169,13 @@ with gr.Blocks(fill_height=True) as demo:
169
  with gr.Row():
170
  with gr.Column():
171
  start_input = gr.Textbox(label="Start Date:", placeholder="Enter date (e.g., 2023-09-01)", max_lines=1)
172
- gr.Markdown("##### Start of the data range of months that will be used as input by the model for revenue prediction. The end month is automatically set to one month before the prediction month.")
173
  with gr.Column():
174
  prediction_input = gr.Text(label="Month Prediction:", placeholder="Enter date (e.g., 2024-10-31)", max_lines=1)
175
  gr.Markdown("##### Case creation month to predict its revenue.")
176
  with gr.Column():
177
  range_input = gr.Slider(3, 12, 6, label="Window / Moving Average Period")
178
- gr.Markdown("##### Window = 3-period/months, the predictive model reacts more quickly to recent monthly payment fluctuations, but it may also include more noise. <br><br> Window = 12-period/months, the Forecast adjusts more slowly and is less sensitive to small fluctuations, making it more reliable, but also slower to react to sharp changes.")
179
 
180
  table_ = gr.DataFrame(value=df, label="Predictions (consult 'revenue' column):")
181
  btn_update = gr.Button("Run Forecast")
 
169
  with gr.Row():
170
  with gr.Column():
171
  start_input = gr.Textbox(label="Start Date:", placeholder="Enter date (e.g., 2023-09-01)", max_lines=1)
172
+ gr.Markdown("##### Start of the data range of months that will be used as input by the model for revenue prediction.<br><br>The end month is automatically set to one month before the prediction month.")
173
  with gr.Column():
174
  prediction_input = gr.Text(label="Month Prediction:", placeholder="Enter date (e.g., 2024-10-31)", max_lines=1)
175
  gr.Markdown("##### Case creation month to predict its revenue.")
176
  with gr.Column():
177
  range_input = gr.Slider(3, 12, 6, label="Window / Moving Average Period")
178
+ gr.Markdown("##### Window = 3-period/months, the predictive model reacts more quickly to recent monthly payment fluctuations, but it may also include more noise.<br><br>Window = 12-period/months, the Forecast adjusts more slowly and is less sensitive to small fluctuations, making it more reliable, but also slower to react to sharp changes.")
179
 
180
  table_ = gr.DataFrame(value=df, label="Predictions (consult 'revenue' column):")
181
  btn_update = gr.Button("Run Forecast")