Spaces:
Sleeping
Sleeping
vaitor_chatbot_select_btn
Browse files
app.py
CHANGED
|
@@ -2793,7 +2793,7 @@ with gr.Blocks(theme=gr.themes.Base(primary_hue=gr.themes.colors.orange, seconda
|
|
| 2793 |
"""
|
| 2794 |
chatbot_open_ai_name = gr.State("chatbot_open_ai")
|
| 2795 |
gr.Image(value=vaitor_chatbot_avatar_url, height=100, width=100, show_label=False, show_download_button=False)
|
| 2796 |
-
|
| 2797 |
vaitor_chatbot_description_value = gr.Markdown(value=vaitor_chatbot_description, visible=True)
|
| 2798 |
# 狐狸貓
|
| 2799 |
with gr.Column(scale=1, variant="panel"):
|
|
@@ -3096,7 +3096,7 @@ with gr.Blocks(theme=gr.themes.Base(primary_hue=gr.themes.colors.orange, seconda
|
|
| 3096 |
# 聊天机器人的配置数据
|
| 3097 |
chatbots = [
|
| 3098 |
{
|
| 3099 |
-
"button":
|
| 3100 |
"name_state": chatbot_open_ai_name,
|
| 3101 |
"avatar_images": vaitor_chatbot_avatar_images,
|
| 3102 |
"description_value": vaitor_chatbot_description_value,
|
|
|
|
| 2793 |
"""
|
| 2794 |
chatbot_open_ai_name = gr.State("chatbot_open_ai")
|
| 2795 |
gr.Image(value=vaitor_chatbot_avatar_url, height=100, width=100, show_label=False, show_download_button=False)
|
| 2796 |
+
vaitor_chatbot_select_btn = gr.Button("👆選擇【飛特精靈】", elem_id="chatbot_btn", visible=True, variant="primary")
|
| 2797 |
vaitor_chatbot_description_value = gr.Markdown(value=vaitor_chatbot_description, visible=True)
|
| 2798 |
# 狐狸貓
|
| 2799 |
with gr.Column(scale=1, variant="panel"):
|
|
|
|
| 3096 |
# 聊天机器人的配置数据
|
| 3097 |
chatbots = [
|
| 3098 |
{
|
| 3099 |
+
"button": vaitor_chatbot_select_btn,
|
| 3100 |
"name_state": chatbot_open_ai_name,
|
| 3101 |
"avatar_images": vaitor_chatbot_avatar_images,
|
| 3102 |
"description_value": vaitor_chatbot_description_value,
|