Spaces:
Runtime error
Runtime error
refactor: update description and wording
Browse files
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("
|
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="
|
208 |
-
placeholder="
|
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="
|
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 |
|