diff --git a/myapp/views/home.py b/myapp/views/home.py index 15b2b9bd..ae375b31 100644 --- a/myapp/views/home.py +++ b/myapp/views/home.py @@ -492,67 +492,68 @@ class Myapp(BaseMyappView): }, ] }, - # 应用市场 - { - "name": 'aihub', - "title": 'AIHub', - "isMenu": True, - # "isExpand": True, - "icon": '', - "children": [ - { - "name": 'app_market', - "title": '应用市场', - "isMenu": True, - "isExpand": True, - "children": [ - { - "name": 'dataset_market', - "title": '数据集', - "icon": '', - "menu_type": "api", - "url": "/training_model_modelview/api/" - }, - { - "name": 'template_market', - "title": '计算模板', - "icon": '', - "menu_type": "api", - "url": "/inferenceservice_modelview/api/" - }, - { - "name": 'model_market', - "title": '预训练模型', - "icon": '', - "menu_type": "api", - "url": "/inferenceservice_modelview/api/" - }, - { - "name": 'pipeline_market', - "title": '算法任务流', - "icon": '', - "menu_type": "api", - "url": "/inferenceservice_modelview/api/" - }, - { - "name": 'service_market', - "title": '推理服务', - "icon": '', - "menu_type": "api", - "url": "/inferenceservice_modelview/api/" - }, - ] - }, - { - "name": 'business_market', - "title": '需求市场', - "icon": '', - "menu_type": "api", - "disable": True, - "url": "/service_pipeline_modelview/api/" - }, - ] - } + # # 应用市场 + # { + # "name": 'aihub', + # "title": 'AIHub', + # "isMenu": True, + # # "isExpand": True, + # "icon": '', + # "children": [ + # { + # "name": 'app_market', + # "title": '应用市场', + # "isMenu": True, + # "isExpand": True, + # "children": [ + # { + # "name": 'dataset_market', + # "title": '数据集', + # "icon": '', + # "menu_type": "api", + # "url": "/training_model_modelview/api/" + # }, + # { + # "name": 'template_market', + # "title": '计算模板', + # "icon": '', + # "menu_type": "api", + # "url": "/inferenceservice_modelview/api/" + # }, + # { + # "name": 'model_market', + # "title": '预训练模型', + # "icon": '', + # "menu_type": "api", + # "url": "/inferenceservice_modelview/api/" + # }, + # { + # "name": 'pipeline_market', + # "title": '算法任务流', + # "icon": '', + # "menu_type": "api", + # "url": "/inferenceservice_modelview/api/" + # }, + # { + # "name": 'service_market', + # "title": '推理服务', + # "icon": '', + # "menu_type": "api", + # "url": "/inferenceservice_modelview/api/" + # }, + # ] + # }, + # { + # "name": 'business_market', + # "title": '需求市场', + # "icon": '', + # "menu_type": "api", + # "disable": True, + # "url": "/service_pipeline_modelview/api/" + # }, + # ] + # } + # ] if g.user.username in conf.get('ADMIN_USER','').split(','):