Update app3.py
Browse files
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 != "":
|