DemiPoto commited on
Commit
3c43544
1 Parent(s): 3e40e5f

Update all_models2.py

Browse files
Files changed (1) hide show
  1. all_models2.py +0 -5
all_models2.py CHANGED
@@ -90,15 +90,11 @@ def tag_new(models,limit=40):
90
  return output
91
 
92
  def tag_fav(models,fav_models):
93
- print(fav_models)
94
  output=["FAV",0,[]]
95
  for m in fav_models:
96
  if m in models:
97
  output[1]+=1
98
  output[2].append(m)
99
- else:
100
- print(m+" not found ")
101
- print(models)
102
  return output
103
 
104
  def update_tag(models_plus_tags,list_new_tag):
@@ -122,7 +118,6 @@ list_fav=tag_fav(models,fav_models)
122
  if list_fav[1]>0:
123
  tags_plus_models.insert(1,list_fav)
124
  models_plus_tags=update_tag(models_plus_tags,list_fav)
125
- print(models_plus_tags[0])
126
 
127
  #models.extend(find_model_list("John6666", ["stable-diffusion-xl"], "", "last_modified", 200))
128
 
 
90
  return output
91
 
92
  def tag_fav(models,fav_models):
 
93
  output=["FAV",0,[]]
94
  for m in fav_models:
95
  if m in models:
96
  output[1]+=1
97
  output[2].append(m)
 
 
 
98
  return output
99
 
100
  def update_tag(models_plus_tags,list_new_tag):
 
118
  if list_fav[1]>0:
119
  tags_plus_models.insert(1,list_fav)
120
  models_plus_tags=update_tag(models_plus_tags,list_fav)
 
121
 
122
  #models.extend(find_model_list("John6666", ["stable-diffusion-xl"], "", "last_modified", 200))
123