Spaces:
Runtime error
Runtime error
Upload gradio_streamingllm.py
Browse files- gradio_streamingllm.py +5 -0
gradio_streamingllm.py
CHANGED
@@ -22,6 +22,9 @@ from mods.btn_retry import init as btn_retry_init
|
|
22 |
# ========== 给用户提供默认回复的建议 ==========
|
23 |
from mods.btn_suggest import init as btn_suggest_init
|
24 |
|
|
|
|
|
|
|
25 |
# ========== 重置按钮 ==========
|
26 |
from mods.btn_reset import init as btn_reset_init
|
27 |
|
@@ -114,6 +117,8 @@ with gr.Blocks() as chatting:
|
|
114 |
|
115 |
btn_retry_init(cfg)
|
116 |
|
|
|
|
|
117 |
# ========== 用于调试 ==========
|
118 |
btn_reset_init(cfg)
|
119 |
|
|
|
22 |
# ========== 给用户提供默认回复的建议 ==========
|
23 |
from mods.btn_suggest import init as btn_suggest_init
|
24 |
|
25 |
+
# ========== 融合功能的按钮 ==========
|
26 |
+
from mods.btn_submit_vo_suggest import init as btn_submit_vo_suggest_init
|
27 |
+
|
28 |
# ========== 重置按钮 ==========
|
29 |
from mods.btn_reset import init as btn_reset_init
|
30 |
|
|
|
117 |
|
118 |
btn_retry_init(cfg)
|
119 |
|
120 |
+
btn_submit_vo_suggest_init(cfg)
|
121 |
+
|
122 |
# ========== 用于调试 ==========
|
123 |
btn_reset_init(cfg)
|
124 |
|