Spaces:
Running
Running
2Nike2
commited on
Commit
·
7fee005
1
Parent(s):
014abd7
Append Card Design Choice description.
Browse files- app.py +4 -0
- src/display_message_en.json +1 -0
- src/display_message_ja.json +1 -0
app.py
CHANGED
@@ -94,9 +94,13 @@ with gr.Blocks() as demo:
|
|
94 |
|
95 |
with gr.Tab(display_message_dict['tab_label_card_general']):
|
96 |
with gr.Row():
|
|
|
97 |
with gr.Column():
|
|
|
98 |
title = gr.Textbox(label=display_message_dict['label_title'], placeholder=display_message_dict['placeholder_title'])
|
99 |
|
|
|
|
|
100 |
with gr.Row():
|
101 |
with gr.Column():
|
102 |
card_design_dropdown = gr.Dropdown(list(default_card_design_image_dict.keys()), label=display_message_dict['label_card_design_sample'])
|
|
|
94 |
|
95 |
with gr.Tab(display_message_dict['tab_label_card_general']):
|
96 |
with gr.Row():
|
97 |
+
|
98 |
with gr.Column():
|
99 |
+
|
100 |
title = gr.Textbox(label=display_message_dict['label_title'], placeholder=display_message_dict['placeholder_title'])
|
101 |
|
102 |
+
gr.Markdown(display_message_dict['card_general_description'])
|
103 |
+
|
104 |
with gr.Row():
|
105 |
with gr.Column():
|
106 |
card_design_dropdown = gr.Dropdown(list(default_card_design_image_dict.keys()), label=display_message_dict['label_card_design_sample'])
|
src/display_message_en.json
CHANGED
@@ -11,6 +11,7 @@
|
|
11 |
"3": "Fossil",
|
12 |
"4": "Cat"
|
13 |
},
|
|
|
14 |
"label_card_design_upload": "Card Design (Upload)",
|
15 |
"label_card_design_sample": "Card Design (Sample)",
|
16 |
"label_card_design_preview": "Card Design Preview",
|
|
|
11 |
"3": "Fossil",
|
12 |
"4": "Cat"
|
13 |
},
|
14 |
+
"card_general_description": "For card design, you can either: \n- Select from \"Card Design (Sample)\". \n- Upload an image in \"Card Design (Upload)\", select the area, and press the check button. \nThe selected design will be displayed in the \"Card Design Preview\" and will be used for your card.",
|
15 |
"label_card_design_upload": "Card Design (Upload)",
|
16 |
"label_card_design_sample": "Card Design (Sample)",
|
17 |
"label_card_design_preview": "Card Design Preview",
|
src/display_message_ja.json
CHANGED
@@ -11,6 +11,7 @@
|
|
11 |
"3": "化石",
|
12 |
"4": "猫"
|
13 |
},
|
|
|
14 |
"label_card_design_upload": "カードデザイン (アップロード)",
|
15 |
"label_card_design_sample": "カードデザイン (サンプル)",
|
16 |
"label_card_design_preview": "カードデザインプレビュー",
|
|
|
11 |
"3": "化石",
|
12 |
"4": "猫"
|
13 |
},
|
14 |
+
"card_general_description": "カードデザインは \n- 「カードデザイン (サンプル)」から選択する。 \n- 「カードデザイン (アップロード)」で画像をアップロードし、範囲を決めてチェックボタンを押す。 \nのどちらかを行うことで「カードデザインプレビュー」に表示され、これをカードのデザインに使います。",
|
15 |
"label_card_design_upload": "カードデザイン (アップロード)",
|
16 |
"label_card_design_sample": "カードデザイン (サンプル)",
|
17 |
"label_card_design_preview": "カードデザインプレビュー",
|