Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -86,6 +86,7 @@ with gr.Blocks(css=CSS) as demo:
|
|
| 86 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")
|
| 87 |
gr.ChatInterface(
|
| 88 |
fn=stream_chat,
|
|
|
|
| 89 |
fill_height=True,
|
| 90 |
additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False, render=False),
|
| 91 |
additional_inputs=[
|
|
@@ -118,7 +119,7 @@ with gr.Blocks(css=CSS) as demo:
|
|
| 118 |
"You are a helpful assistant.",
|
| 119 |
],
|
| 120 |
["我的笔记本找不到了。", "扮演诸葛亮和我对话。"],
|
| 121 |
-
["
|
| 122 |
],
|
| 123 |
cache_examples=False,
|
| 124 |
)
|
|
|
|
| 86 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")
|
| 87 |
gr.ChatInterface(
|
| 88 |
fn=stream_chat,
|
| 89 |
+
chatbot=gr.Chatbot(height=450),
|
| 90 |
fill_height=True,
|
| 91 |
additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False, render=False),
|
| 92 |
additional_inputs=[
|
|
|
|
| 119 |
"You are a helpful assistant.",
|
| 120 |
],
|
| 121 |
["我的笔记本找不到了。", "扮演诸葛亮和我对话。"],
|
| 122 |
+
["我想要一个新的密码,长度为8位,包含特殊符号。", TOOL_EXAMPLE],
|
| 123 |
],
|
| 124 |
cache_examples=False,
|
| 125 |
)
|