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

Update app3.py

Browse files
Files changed (1) hide show
  1. app3.py +1 -1
app3.py CHANGED
@@ -234,7 +234,7 @@ def search_models(str_search,tags_plus_models=tags_plus_models,models_plus_tags=
234
  output1+="\"" + m + "\",\n"
235
  outputPlus="\n From tags : \n\n"
236
  for tag_plus_models in tags_plus_models:
237
- if str_search in tag_plus_models[0]:
238
  for m in tag_plus_models[2]:
239
  output2+="\"" + m + "\",\n"
240
  if output2 != "":
 
234
  output1+="\"" + m + "\",\n"
235
  outputPlus="\n From tags : \n\n"
236
  for tag_plus_models in tags_plus_models:
237
+ if str_search in tag_plus_models[0] and str_search!="":
238
  for m in tag_plus_models[2]:
239
  output2+="\"" + m + "\",\n"
240
  if output2 != "":