Spaces:
Sleeping
Sleeping
Alejandrapulidoa
commited on
Commit
•
e7492f2
1
Parent(s):
800b4f1
Update app.py
Browse files
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="
|
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(["
|
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 |
)
|