libbeyfox commited on
Commit
aed30f9
·
verified ·
1 Parent(s): 1752d14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -383,7 +383,7 @@ def run_forecast(
383
  future_df,
384
  future_plot,
385
  export_files,
386
- " Forecasting completed successfully!"
387
  )
388
 
389
  except Exception as e:
@@ -394,7 +394,7 @@ def run_forecast(
394
  # Gradio Interface
395
  with gr.Blocks(title="Duke Energy Forecasting App") as app:
396
  gr.Markdown("""
397
- # 🔮 Duke Energy Time Series Forecasting
398
 
399
  Upload your time series data and select models to generate forecasts.
400
  Supports StatsForecast, MLForecast, and Foundation Models (Chronos, Moirai).
@@ -491,9 +491,9 @@ with gr.Blocks(title="Duke Energy Forecasting App") as app:
491
  )
492
 
493
  if not CHRONOS_AVAILABLE:
494
- gr.Markdown("⚠️ Chronos not available. Install: `pip install chronos-forecasting`")
495
  if not MOIRAI_AVAILABLE:
496
- gr.Markdown("⚠️ Moirai not available. Install: `pip install uni2ts`")
497
 
498
  with gr.Column(scale=3):
499
  message_output = gr.Textbox(label="Status Message")
 
383
  future_df,
384
  future_plot,
385
  export_files,
386
+ " Forecasting completed successfully!"
387
  )
388
 
389
  except Exception as e:
 
394
  # Gradio Interface
395
  with gr.Blocks(title="Duke Energy Forecasting App") as app:
396
  gr.Markdown("""
397
+ # Time Series Forecasting
398
 
399
  Upload your time series data and select models to generate forecasts.
400
  Supports StatsForecast, MLForecast, and Foundation Models (Chronos, Moirai).
 
491
  )
492
 
493
  if not CHRONOS_AVAILABLE:
494
+ gr.Markdown(" Chronos not available. Install: `pip install chronos-forecasting`")
495
  if not MOIRAI_AVAILABLE:
496
+ gr.Markdown(" Moirai not available. Install: `pip install uni2ts`")
497
 
498
  with gr.Column(scale=3):
499
  message_output = gr.Textbox(label="Status Message")