Update app.py
Browse files
app.py
CHANGED
|
@@ -296,7 +296,7 @@ def create_interface():
|
|
| 296 |
with gr.Row():
|
| 297 |
forecast_horizon_input = gr.Number(label="Forecast Horizon", value=10, visible=False) # Hide forecast horizon input
|
| 298 |
finetune_steps_input = gr.Number(label="Finetune Steps", value=100)
|
| 299 |
-
freq_dropdown = gr.Dropdown(choices=['15min', '30min', '
|
| 300 |
|
| 301 |
with gr.Column(): # Group date inputs in a column
|
| 302 |
with gr.Row():
|
|
@@ -310,7 +310,7 @@ def create_interface():
|
|
| 310 |
forecast_end_date_input = gr.Textbox(label="Forecast End Date (YYYY-MM-DD)", placeholder="YYYY-MM-DD")
|
| 311 |
|
| 312 |
|
| 313 |
-
resample_freq_dropdown = gr.Dropdown(choices=['15min', '30min', '
|
| 314 |
|
| 315 |
output_csv = gr.Textbox(label="Forecast Data (CSV)")
|
| 316 |
output_plot = gr.Plot(label="Time Series Plot")
|
|
|
|
| 296 |
with gr.Row():
|
| 297 |
forecast_horizon_input = gr.Number(label="Forecast Horizon", value=10, visible=False) # Hide forecast horizon input
|
| 298 |
finetune_steps_input = gr.Number(label="Finetune Steps", value=100)
|
| 299 |
+
freq_dropdown = gr.Dropdown(choices=['15min', '30min', 'H', '2H', '3H', '4H', '5H', '6H', '12H', 'D', 'W', 'M', 'Y'], label="Frequency", value='D')
|
| 300 |
|
| 301 |
with gr.Column(): # Group date inputs in a column
|
| 302 |
with gr.Row():
|
|
|
|
| 310 |
forecast_end_date_input = gr.Textbox(label="Forecast End Date (YYYY-MM-DD)", placeholder="YYYY-MM-DD")
|
| 311 |
|
| 312 |
|
| 313 |
+
resample_freq_dropdown = gr.Dropdown(choices=['15min', '30min', 'H', '2H', '3H', '4H', '5H', '6H', '12H', 'D', 'W', 'M', 'Y'], label="Resample Frequency", value='D')
|
| 314 |
|
| 315 |
output_csv = gr.Textbox(label="Forecast Data (CSV)")
|
| 316 |
output_plot = gr.Plot(label="Time Series Plot")
|