Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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
|
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")
|