Spaces:
Running
Running
hide fail chatbot
Browse files
app.py
CHANGED
@@ -3336,7 +3336,7 @@ def create_app():
|
|
3336 |
with gr.Accordion("🦄 飛特精靈 敘述", open=False):
|
3337 |
vaitor_chatbot_description_value = gr.Markdown(value=vaitor_chatbot_description, visible=True)
|
3338 |
# 狐狸貓
|
3339 |
-
with gr.Column(scale=1, variant="panel"):
|
3340 |
foxcat_chatbot_avatar_url = "https://storage.googleapis.com/wpassets.junyiacademy.org/1/2020/06/%E7%A7%91%E5%AD%B8%E5%BE%BD%E7%AB%A0-2-150x150.png"
|
3341 |
foxcat_avatar_images = gr.State([user_avatar, foxcat_chatbot_avatar_url])
|
3342 |
foxcat_chatbot_description = """Hi,我是【狐狸貓】,可以陪你一起學習本次的內容,有什麼問題都可以問我喔!\n
|
@@ -3351,7 +3351,7 @@ def create_app():
|
|
3351 |
with gr.Accordion("💜 狐狸貓 敘述", open=False):
|
3352 |
foxcat_chatbot_description_value = gr.Markdown(value=foxcat_chatbot_description, visible=True)
|
3353 |
# 梨梨
|
3354 |
-
with gr.Column(scale=1, variant="panel"):
|
3355 |
lili_chatbot_avatar_url = "https://junyitopicimg.s3.amazonaws.com/live/v1283-new-topic-44-icon.png"
|
3356 |
lili_avatar_images = gr.State([user_avatar, lili_chatbot_avatar_url])
|
3357 |
lili_chatbot_description = """你好,我是溫柔的【梨梨】,很高興可以在這裡陪伴你學習。如果你有任何疑問,請隨時向我提出哦! \n
|
@@ -3364,7 +3364,7 @@ def create_app():
|
|
3364 |
- 有驚人的眼力,總能觀察到其他人沒有察覺的細節
|
3365 |
- 喜歡整整齊齊的環境,所以一到麥麥家就受不了
|
3366 |
"""
|
3367 |
-
lili_chatbot_name = gr.State("lili")
|
3368 |
gr.Image(value=lili_chatbot_avatar_url, height=100, width=100, show_label=False, show_download_button=False, show_share_button=False, show_fullscreen_button=False)
|
3369 |
lili_chatbot_select_btn = gr.Button("👆選擇【梨梨】", visible=True, variant="primary", elem_classes="chatbot_select_btn")
|
3370 |
with gr.Accordion("🧡 梨梨 敘述", open=False):
|
|
|
3336 |
with gr.Accordion("🦄 飛特精靈 敘述", open=False):
|
3337 |
vaitor_chatbot_description_value = gr.Markdown(value=vaitor_chatbot_description, visible=True)
|
3338 |
# 狐狸貓
|
3339 |
+
with gr.Column(scale=1, variant="panel", visible=False):
|
3340 |
foxcat_chatbot_avatar_url = "https://storage.googleapis.com/wpassets.junyiacademy.org/1/2020/06/%E7%A7%91%E5%AD%B8%E5%BE%BD%E7%AB%A0-2-150x150.png"
|
3341 |
foxcat_avatar_images = gr.State([user_avatar, foxcat_chatbot_avatar_url])
|
3342 |
foxcat_chatbot_description = """Hi,我是【狐狸貓】,可以陪你一起學習本次的內容,有什麼問題都可以問我喔!\n
|
|
|
3351 |
with gr.Accordion("💜 狐狸貓 敘述", open=False):
|
3352 |
foxcat_chatbot_description_value = gr.Markdown(value=foxcat_chatbot_description, visible=True)
|
3353 |
# 梨梨
|
3354 |
+
with gr.Column(scale=1, variant="panel", visible=False):
|
3355 |
lili_chatbot_avatar_url = "https://junyitopicimg.s3.amazonaws.com/live/v1283-new-topic-44-icon.png"
|
3356 |
lili_avatar_images = gr.State([user_avatar, lili_chatbot_avatar_url])
|
3357 |
lili_chatbot_description = """你好,我是溫柔的【梨梨】,很高興可以在這裡陪伴你學習。如果你有任何疑問,請隨時向我提出哦! \n
|
|
|
3364 |
- 有驚人的眼力,總能觀察到其他人沒有察覺的細節
|
3365 |
- 喜歡整整齊齊的環境,所以一到麥麥家就受不了
|
3366 |
"""
|
3367 |
+
lili_chatbot_name = gr.State("lili", visible=False)
|
3368 |
gr.Image(value=lili_chatbot_avatar_url, height=100, width=100, show_label=False, show_download_button=False, show_share_button=False, show_fullscreen_button=False)
|
3369 |
lili_chatbot_select_btn = gr.Button("👆選擇【梨梨】", visible=True, variant="primary", elem_classes="chatbot_select_btn")
|
3370 |
with gr.Accordion("🧡 梨梨 敘述", open=False):
|