Browse Source

[MNT] Update

tags/v0.3.2
bxdd 3 years ago
parent
commit
7f59b6387a
2 changed files with 4 additions and 1 deletions
  1. +1
    -1
      examples/workflow_by_code/main.py
  2. +3
    -0
      learnware/market/easy.py

+ 1
- 1
examples/workflow_by_code/main.py View File

@@ -18,7 +18,7 @@ from learnware.utils import get_module_by_module_path
curr_root = os.path.dirname(os.path.abspath(__file__))

user_semantic = {
"Data": {"Values": ["Tabular"], "Type": "Class"},
"Data": {"Values": ["Table"], "Type": "Class"},
"Task": {
"Values": ["Classification"],
"Type": "Class",


+ 3
- 0
learnware/market/easy.py View File

@@ -203,6 +203,9 @@ class EasyMarket(BaseMarket):
pass
return None, self.INVALID_LEARNWARE

if new_learnware is None:
return None, self.INVALID_LEARNWARE

check_flag = self.check_learnware(new_learnware)

add_learnware_to_db(


Loading…
Cancel
Save