runaksh commited on
Commit
6b59208
·
1 Parent(s): 4ca1fc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,7 +17,7 @@ def plot_forecast(final_year, companies, noise, show_legend, point_style):
17
  plt_format = ({"cross": "X", "line": "-", "circle": "o--"})[point_style]
18
  fig = plt.figure()
19
  ax = fig.add_subplot(111)
20
- for i, company in enumerate(["Google", "Microsoft", "Netflix", "Apple", "Amazon", "Facebook"]):
21
  if company in companies:
22
  series = np.arange(0, year_count, dtype=float)
23
  series = series**2 * (i + 1)
@@ -35,7 +35,7 @@ demo = gr.Interface(
35
  plot_forecast,
36
  [
37
  gr.Radio([2025, 2030, 2035, 2040], label="Project to:"),
38
- gr.CheckboxGroup(["Google", "Microsoft", "Netflix","Apple", "Amazon", "Facebook"], label="Company Selection"),
39
  gr.Slider(1, 100, label="Noise Level"),
40
  gr.Checkbox(label="Show Legend"),
41
  gr.Dropdown(["cross", "line", "circle"], label="Style"),
 
17
  plt_format = ({"cross": "X", "line": "-", "circle": "o--"})[point_style]
18
  fig = plt.figure()
19
  ax = fig.add_subplot(111)
20
+ for i, company in enumerate(["SBI", "Kotak", "Axis", "IDFC", "PNB", "ICICI"]):
21
  if company in companies:
22
  series = np.arange(0, year_count, dtype=float)
23
  series = series**2 * (i + 1)
 
35
  plot_forecast,
36
  [
37
  gr.Radio([2025, 2030, 2035, 2040], label="Project to:"),
38
+ gr.CheckboxGroup(["SBI", "Kotak", "Axis", "IDFC", "PNB", "ICICI"], label="Company Selection"),
39
  gr.Slider(1, 100, label="Noise Level"),
40
  gr.Checkbox(label="Show Legend"),
41
  gr.Dropdown(["cross", "line", "circle"], label="Style"),