1f0fb08
LMonan 3 years ago
2 changed file(s) with 11 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
11 things:
22 name: wish
33 value_type: str
4 description: ''
4 description: '所求之事'
55 pray:
66 name: pray
77 value_type: str
8 description: ''
8 description: '祈祷'
99 output:
1010 ret1:
11 name: ret1
11 name: turn_symbol_desc
1212 value_type: str
13 description: ''
13 description: '说明'
1414 ret2:
15 name: ret2
15 name: main_indicate
1616 value_type: str
17 description: ''
17 description: '主预言'
18 ret3:
19 name: support_indicate
20 value_type: str
21 description: '辅预言'
22
1515 obj = YiProgram()
1616 turn_symbol_desc, main_indicate, support_indicate = obj.predict(wish, pray)
1717
18 # add your code
1918 return {
2019 'turn_symbol_desc': turn_symbol_desc,
2120 'main_indicate': main_indicate,