Update app3.py
Browse files
app3.py
CHANGED
@@ -234,7 +234,7 @@ def search_models(str_search,tags_plus_models=tags_plus_models):
|
|
234 |
output1+="\"" + m + "\",\n"
|
235 |
outputPlus="\n From tags : \n\n"
|
236 |
for tag_plus_models in tags_plus_models:
|
237 |
-
if str_search.
|
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.capitalize() == tag_plus_models[0].capitalize() and str_search!="":
|
238 |
for m in tag_plus_models[2]:
|
239 |
output2+="\"" + m + "\",\n"
|
240 |
if output2 != "":
|