Spaces:
Sleeping
Sleeping
修改提示词,修改对话框高度
Browse files
app.py
CHANGED
|
@@ -60,15 +60,15 @@ def chat_stream(message, history):
|
|
| 60 |
|
| 61 |
iface = gr.ChatInterface(
|
| 62 |
chat_stream,
|
| 63 |
-
chatbot=gr.Chatbot(height=
|
| 64 |
textbox=gr.Textbox(placeholder="在这里输入您的消息...", container=False, scale=7),
|
| 65 |
title="米你AI 提示词助手",
|
| 66 |
description="帮助你生成提示词,输入一个主题,我会帮你联想合适的提示词",
|
| 67 |
theme="soft",
|
| 68 |
examples=[
|
| 69 |
-
"
|
| 70 |
-
"
|
| 71 |
-
"
|
| 72 |
],
|
| 73 |
cache_examples=False,
|
| 74 |
retry_btn="重试",
|
|
|
|
| 60 |
|
| 61 |
iface = gr.ChatInterface(
|
| 62 |
chat_stream,
|
| 63 |
+
chatbot=gr.Chatbot(height=600, label="提示词助手"),
|
| 64 |
textbox=gr.Textbox(placeholder="在这里输入您的消息...", container=False, scale=7),
|
| 65 |
title="米你AI 提示词助手",
|
| 66 |
description="帮助你生成提示词,输入一个主题,我会帮你联想合适的提示词",
|
| 67 |
theme="soft",
|
| 68 |
examples=[
|
| 69 |
+
"一个小狗,在开满鲜花的山谷里奔跑",
|
| 70 |
+
"一个女孩,穿着红色的裙子,在海边拍照",
|
| 71 |
+
"一个穿着太空服的小鸡,在月球上行走"
|
| 72 |
],
|
| 73 |
cache_examples=False,
|
| 74 |
retry_btn="重试",
|