DemiPoto commited on
Commit
39aacf1
·
verified ·
1 Parent(s): cba1e22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -26,8 +26,9 @@ def load_fn(models):
26
 
27
  def load_test(mod):
28
  load_fn(mod)
29
- num_models = len(mod)
30
- default_models = models[:num_models]
 
31
  load_test(models_test[1])
32
 
33
  def extend_choices(choices):
 
26
 
27
  def load_test(mod):
28
  load_fn(mod)
29
+ global num_models = len(mod)
30
+ global default_models = models[:num_models]
31
+
32
  load_test(models_test[1])
33
 
34
  def extend_choices(choices):