Alejandrapulidoa commited on
Commit
e7492f2
1 Parent(s): 800b4f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -26,11 +26,11 @@ def plot_forecast(final_year, companies, noise, show_legend, point_style):
26
  demo = gr.Interface(
27
  plot_forecast,
28
  [
29
- gr.Radio([2025, 2030, 2035, 2040], label="Project to:"),
30
- gr.CheckboxGroup(["Google", "Microsoft", "Gradio"], label="Company Selection"),
31
  gr.Slider(1, 100, label="Noise Level"),
32
  gr.Checkbox(label="Show Legend"),
33
- gr.Dropdown(["cross", "line", "circle"], label="Style"),
34
  ],
35
  gr.Plot(label="forecast"),
36
  )
 
26
  demo = gr.Interface(
27
  plot_forecast,
28
  [
29
+ gr.Radio([2025, 2030, 2035, 2040], label="Forecast year:"),
30
+ gr.CheckboxGroup(["Google", "Microsoft", "Gradio", "Tesla"], label="Company Selection"),
31
  gr.Slider(1, 100, label="Noise Level"),
32
  gr.Checkbox(label="Show Legend"),
33
+ gr.Dropdown(["Cross Points", "Linear", "Circle Points"], label="Graph Style"),
34
  ],
35
  gr.Plot(label="forecast"),
36
  )