Spaces:
Sleeping
Sleeping
turn all of share button off
Browse files
app.py
CHANGED
@@ -292,7 +292,7 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
292 |
|
293 |
loading_message = gr.Textbox(visible=False, show_label=False)
|
294 |
with gr.Column(visible=False) as audio_interface:
|
295 |
-
audio_player = gr.Audio(label="放鬆引導指導語", show_download_button=False, interactive=False)
|
296 |
back_to_chat = gr.Button("返回聊天")
|
297 |
|
298 |
with gr.Row() as main_interface:
|
@@ -311,7 +311,7 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
311 |
image_selector = gr.Radio(choices=["圖像 1", "圖像 2", "圖像 3", "圖像 4"], label="選擇一張圖像")
|
312 |
image_outputs = [gr.Image(label=f"圖像 {i+1}", interactive=False, show_share_button=False, elem_classes="graphic") for i in range(4)]
|
313 |
with gr.Column(visible=False) as selected_image_interface:
|
314 |
-
selected_image = gr.Image(interactive=False, label="你選擇的圖像")
|
315 |
image_chat_input = gr.Textbox(label="這張圖像讓你產生了什麼樣的聯想?")
|
316 |
image_chat_button = gr.Button("與聊天機器人分享", variant="primary")
|
317 |
|
|
|
292 |
|
293 |
loading_message = gr.Textbox(visible=False, show_label=False)
|
294 |
with gr.Column(visible=False) as audio_interface:
|
295 |
+
audio_player = gr.Audio(label="放鬆引導指導語", show_download_button=False, show_share_button=False, interactive=False)
|
296 |
back_to_chat = gr.Button("返回聊天")
|
297 |
|
298 |
with gr.Row() as main_interface:
|
|
|
311 |
image_selector = gr.Radio(choices=["圖像 1", "圖像 2", "圖像 3", "圖像 4"], label="選擇一張圖像")
|
312 |
image_outputs = [gr.Image(label=f"圖像 {i+1}", interactive=False, show_share_button=False, elem_classes="graphic") for i in range(4)]
|
313 |
with gr.Column(visible=False) as selected_image_interface:
|
314 |
+
selected_image = gr.Image(interactive=False, show_share_button=False, label="你選擇的圖像")
|
315 |
image_chat_input = gr.Textbox(label="這張圖像讓你產生了什麼樣的聯想?")
|
316 |
image_chat_button = gr.Button("與聊天機器人分享", variant="primary")
|
317 |
|