Spaces:
Running
Running
Update all_models2.py
Browse files- all_models2.py +2 -0
all_models2.py
CHANGED
@@ -86,11 +86,13 @@ def tag_new(models,limit=40):
|
|
86 |
return output
|
87 |
|
88 |
def tag_fav(models=models,fav_models=fav_models):
|
|
|
89 |
output=["FAV",0,[]]
|
90 |
for m in fav_models:
|
91 |
if m in models:
|
92 |
output[1]+=1
|
93 |
output[2].append(m)
|
|
|
94 |
return output
|
95 |
|
96 |
def update_tag(models_plus_tags,list_new_tag):
|
|
|
86 |
return output
|
87 |
|
88 |
def tag_fav(models=models,fav_models=fav_models):
|
89 |
+
print(fav_models)
|
90 |
output=["FAV",0,[]]
|
91 |
for m in fav_models:
|
92 |
if m in models:
|
93 |
output[1]+=1
|
94 |
output[2].append(m)
|
95 |
+
print(output)
|
96 |
return output
|
97 |
|
98 |
def update_tag(models_plus_tags,list_new_tag):
|