diff --git a/app_spec.yml b/app_spec.yml index ac78b7f..880703a 100644 --- a/app_spec.yml +++ b/app_spec.yml @@ -2,17 +2,22 @@ things: name: wish value_type: str - description: '' + description: '所求之事' pray: name: pray value_type: str - description: '' + description: '祈祷' output: ret1: - name: ret1 + name: turn_symbol_desc value_type: str - description: '' + description: '说明' ret2: - name: ret2 + name: main_indicate value_type: str - description: '' + description: '主预言' + ret3: + name: support_indicate + value_type: str + description: '辅预言' + diff --git a/handler.py b/handler.py index 7b253ff..f3f7fa4 100644 --- a/handler.py +++ b/handler.py @@ -16,7 +16,6 @@ obj = YiProgram() turn_symbol_desc, main_indicate, support_indicate = obj.predict(wish, pray) - # add your code return { 'turn_symbol_desc': turn_symbol_desc, 'main_indicate': main_indicate,