Spaces:
Running
Running
Update app.py
Browse files
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):
|