LeonceNsh commited on
Commit
42f2099
·
verified ·
1 Parent(s): fe63793

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -151,8 +151,8 @@ def plot_indicators(company_names, indicator_types):
151
  """Plot the selected indicators for the selected companies."""
152
  images = []
153
  total_market_cap = 0
154
- if len(company_names) > 5:
155
- return None, "You can select up to 5 companies at the same time.", None
156
  if len(company_names) > 1 and len(indicator_types) > 1:
157
  return None, "You can only select one indicator when selecting multiple companies.", None
158
 
 
151
  """Plot the selected indicators for the selected companies."""
152
  images = []
153
  total_market_cap = 0
154
+ if len(company_names) > 7:
155
+ return None, "You can select up to 7 companies at the same time.", None
156
  if len(company_names) > 1 and len(indicator_types) > 1:
157
  return None, "You can only select one indicator when selecting multiple companies.", None
158