Spaces:
Runtime error
Runtime error
Upload btn_submit_vo_suggest.py
Browse files- mods/btn_submit_vo_suggest.py +12 -15
mods/btn_submit_vo_suggest.py
CHANGED
@@ -1,16 +1,13 @@
|
|
1 |
def init(cfg):
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
).success(
|
15 |
-
**cfg['btn_finish']
|
16 |
-
)
|
|
|
1 |
def init(cfg):
|
2 |
+
# ========== 自定义组合建的功能 ==========
|
3 |
+
combine = [
|
4 |
+
'btn_submit_fn_usr',
|
5 |
+
'btn_rag_fn',
|
6 |
+
'btn_submit_fn_bot',
|
7 |
+
'btn_vo_fn',
|
8 |
+
'btn_suggest_fn'
|
9 |
+
]
|
10 |
+
tmp = cfg['btn_submit_vo_suggest'].click(**cfg['btn_start'])
|
11 |
+
for f in combine:
|
12 |
+
tmp = tmp.success(**cfg[f])
|
13 |
+
tmp.success(**cfg['btn_finish'])
|
|
|
|
|
|