charliebaby2023 commited on
Commit
81987e1
1 Parent(s): 0b71b1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -17,10 +17,14 @@ def load_fn(models):
17
  models_load.update({model: m})
18
 
19
 
20
- load_fn(models)
21
 
 
 
 
 
22
 
23
- num_models = 10
 
24
  default_models = models[:num_models]
25
 
26
 
 
17
  models_load.update({model: m})
18
 
19
 
 
20
 
21
+ def array_length(models):
22
+ return len(models)
23
+
24
+ load_fn(models)
25
 
26
+
27
+ num_models = array_length
28
  default_models = models[:num_models]
29
 
30