leemeng commited on
Commit
9f5d2e9
ยท
1 Parent(s): 6faae94

refactor: update description and wording

Browse files
Files changed (1) hide show
  1. app.py +14 -9
app.py CHANGED
@@ -159,7 +159,7 @@ with gr.Blocks() as gr_interface:
159
  with gr.Row():
160
  gr.Markdown("# ๆ—ฅๆœฌ่ชž StableLM Pre-Alpha")
161
  with gr.Row():
162
- gr.Markdown("Description about this page.ใ€€ใƒ›ใ‚ฒใƒ›ใ‚ฒ")
163
  with gr.Row():
164
 
165
  # left panel
@@ -204,8 +204,8 @@ with gr.Blocks() as gr_interface:
204
  # user input block
205
  with gr.Box():
206
  textbox_prompt = gr.Textbox(
207
- label="Human",
208
- placeholder="AIใซ็ถšใใ‚’ๆ›ธใ„ใฆๆฌฒใ—ใ„ใƒ—ใƒญใƒณใƒ—ใƒˆ",
209
  interactive=True,
210
  lines=5,
211
  value=""
@@ -218,18 +218,23 @@ with gr.Blocks() as gr_interface:
218
  # model output block
219
  with gr.Box():
220
  textbox_generation = gr.Textbox(
221
- label="AI",
222
  lines=5,
223
  value=""
224
  )
 
 
 
 
 
225
  with gr.Box():
226
  with gr.Row():
227
  rating_options = [
228
- "๐Ÿ˜ซใ™ใ”ใๆ‚ชใ„",
229
- "๐Ÿ˜žๅพฎๅฆ™",
230
- "๐Ÿ˜ใ‚ขใƒช",
231
- "๐Ÿ™‚ๅˆๆ ผ",
232
- "๐Ÿ˜„ใ™ใ”ใ่‰ฏใ„",
233
  ]
234
  btn_ratings = [gr.Button(value=v) for v in rating_options]
235
 
 
159
  with gr.Row():
160
  gr.Markdown("# ๆ—ฅๆœฌ่ชž StableLM Pre-Alpha")
161
  with gr.Row():
162
+ gr.Markdown("ใ“ใฎ่จ€่ชžใƒขใƒ‡ใƒซใฏ Stabliliy.AI Japan ใŒ้–‹็™บใ—ใŸๅˆๆœŸใƒใƒผใ‚ธใƒงใƒณใฎๆ—ฅๆœฌ่ชžใƒขใƒ‡ใƒซใงใ™ใ€‚ใ“ใฎใƒขใƒ‡ใƒซใฏ่ณชๅ•ๅฟœ็ญ”ใซ็‰นๅŒ–ใ—ใฆใ„ใพใ›ใ‚“ใ€‚ใใฎใŸใ‚ใ€ๆœŸๅพ…ใ™ใ‚‹ๅ›ž็ญ”ใŒใƒ—ใƒญใƒณใƒ—ใƒˆใฎ่‡ช็„ถใช็ถšใใจใชใ‚‹ใ‚ˆใ†ใซใƒ—ใƒญใƒณใƒ—ใƒˆใ‚’่จญๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ไพ‹ใ‚’ๆŒ™ใ’ใ‚‹ใจใ€Œไบบ็”Ÿใฎๆ„ๅ‘ณใฏไฝ•ใงใ™ใ‹๏ผŸใ€ใงใฏใชใใ€ใ€Œ็งใŒๆ€ใฃใŸไบบ็”Ÿใฎๆ„ๅ‘ณใฏใ€ใฎใ‚ˆใ†ใซใƒ—ใƒญใƒณใƒ—ใƒˆใ‚’่จญๅฎšใ—ใฆใใ ใ•ใ„ใ€‚")
163
  with gr.Row():
164
 
165
  # left panel
 
204
  # user input block
205
  with gr.Box():
206
  textbox_prompt = gr.Textbox(
207
+ label="ใƒ—ใƒญใƒณใƒ—ใƒˆ",
208
+ placeholder="็งใŒๆ€ใฃใŸไบบ็”Ÿใฎๆ„ๅ‘ณใฏ",
209
  interactive=True,
210
  lines=5,
211
  value=""
 
218
  # model output block
219
  with gr.Box():
220
  textbox_generation = gr.Textbox(
221
+ label="็”Ÿๆˆ็ตๆžœ",
222
  lines=5,
223
  value=""
224
  )
225
+
226
+ # rating block
227
+ with gr.Row():
228
+ gr.Markdown("ใ‚ˆใ‚Š่‰ฏใ„่จ€่ชžใƒขใƒ‡ใƒซใ‚’็š†ๆง˜ใซๆไพ›ใงใใ‚‹ใ‚ˆใ†ใ€็”Ÿๆˆๅ“่ณชใซใคใ„ใฆใฎใ”ๆ„่ฆ‹ใ‚’ใŠ่žใ‹ใ›ใใ ใ•ใ„ใ€‚")
229
+
230
  with gr.Box():
231
  with gr.Row():
232
  rating_options = [
233
+ "ๆœ€ๆ‚ช",
234
+ "ไธๅˆๆ ผ",
235
+ "ใฉใกใ‚‰ใจใ‚‚ใ„ใˆใชใ„",
236
+ "ๅˆๆ ผ",
237
+ "ๆœ€้ซ˜",
238
  ]
239
  btn_ratings = [gr.Button(value=v) for v in rating_options]
240