This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
beimingwu
/
learnware
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
1
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
[MNT] semantic search by text: change to lower
tags/v0.3.2
xiey
3 years ago
parent
b2ae345930
commit
9f300d45cc
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
learnware/market/easy.py
+ 4
- 1
learnware/market/easy.py
View File
@@ -572,7 +572,10 @@ class EasyMarket(BaseMarket):
if not (set(v1) & set(v2)):
return False
elif key == "Name":
if v2 not in v1 and v2 not in semantic_spec1["Description"]["Values"]:
if (
v2.lower() not in v1.lower()
and v2.lower() not in semantic_spec1["Description"]["Values"].lower()
):
return False
return True
Write
Preview
Loading…
Cancel
Save