Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,7 +83,7 @@ def create_interface() -> gr.ChatInterface:
|
|
| 83 |
additional_inputs=[
|
| 84 |
gr.Textbox(
|
| 85 |
value=ChatConfig.DEFAULT_SYSTEM_MSG,
|
| 86 |
-
label="
|
| 87 |
lines=2,
|
| 88 |
placeholder="Enter system message..."
|
| 89 |
),
|
|
@@ -112,7 +112,7 @@ def create_interface() -> gr.ChatInterface:
|
|
| 112 |
info="Controls diversity"
|
| 113 |
)
|
| 114 |
],
|
| 115 |
-
additional_inputs_accordion=gr.Accordion(label="
|
| 116 |
)
|
| 117 |
|
| 118 |
return interface
|
|
|
|
| 83 |
additional_inputs=[
|
| 84 |
gr.Textbox(
|
| 85 |
value=ChatConfig.DEFAULT_SYSTEM_MSG,
|
| 86 |
+
label="系统提示词",
|
| 87 |
lines=2,
|
| 88 |
placeholder="Enter system message..."
|
| 89 |
),
|
|
|
|
| 112 |
info="Controls diversity"
|
| 113 |
)
|
| 114 |
],
|
| 115 |
+
additional_inputs_accordion=gr.Accordion(label="高级设置", open=False)
|
| 116 |
)
|
| 117 |
|
| 118 |
return interface
|