Update app.py
Browse files
app.py
CHANGED
@@ -7,15 +7,15 @@ now2 = 0
|
|
7 |
nb_models=16
|
8 |
|
9 |
def split_models(models,nb_models):
|
10 |
-
models_temp=
|
11 |
-
models_lis_temp=
|
12 |
i=0
|
13 |
for m in models:
|
14 |
models_temp.append(m)
|
15 |
i=i+1
|
16 |
if i%nb_models==0:
|
17 |
models_lis_temp.append(models_temp)
|
18 |
-
models_temp=
|
19 |
return models_lis_temp
|
20 |
|
21 |
models_test=split_models(models,nb_models)
|
|
|
7 |
nb_models=16
|
8 |
|
9 |
def split_models(models,nb_models):
|
10 |
+
models_temp=[]
|
11 |
+
models_lis_temp=[]
|
12 |
i=0
|
13 |
for m in models:
|
14 |
models_temp.append(m)
|
15 |
i=i+1
|
16 |
if i%nb_models==0:
|
17 |
models_lis_temp.append(models_temp)
|
18 |
+
models_temp=[]
|
19 |
return models_lis_temp
|
20 |
|
21 |
models_test=split_models(models,nb_models)
|