Spaces:
Runtime error
Runtime error
Commit
·
10e3eda
1
Parent(s):
0b44a4e
Update app.py
Browse files
app.py
CHANGED
|
@@ -313,28 +313,6 @@ examples_list = [
|
|
| 313 |
[
|
| 314 |
"How long does it take to become proficient in French, and what are the best methods for retaining information?"
|
| 315 |
],
|
| 316 |
-
["What are some common mistakes to avoid when writing code?"],
|
| 317 |
-
["Build a prompt to generate a beautiful portrait of a horse"],
|
| 318 |
-
["Suggest four metaphors to describe the benefits of AI"],
|
| 319 |
-
["Write a pop song about leaving home for the sandy beaches."],
|
| 320 |
-
["Write a pop song about having hot sex on a sandy beach."],
|
| 321 |
-
["Write a summary demonstrating my ability to tame lions"],
|
| 322 |
-
["鲁迅和周树人什么关系? 说中文。"],
|
| 323 |
-
["鲁迅和周树人什么关系?"],
|
| 324 |
-
["鲁迅和周树人什么关系? 用英文回答。"],
|
| 325 |
-
["从前有一头牛,这头牛后面有什么?"],
|
| 326 |
-
["正无穷大加一大于正无穷大吗?"],
|
| 327 |
-
["正无穷大加正无穷大大于正无穷大吗?"],
|
| 328 |
-
["-2的平方根等于什么?"],
|
| 329 |
-
["树上有5只鸟,猎人开枪打死了一只。树上还有几只鸟?"],
|
| 330 |
-
["树上有11只鸟,猎人开枪打死了一只。树上还有几只鸟?提示:需考虑鸟可能受惊吓飞走。"],
|
| 331 |
-
["以红楼梦的行文风格写一张委婉的请假条。不少于320字。"],
|
| 332 |
-
[f"{etext} 翻成中文,列出3个版本。"],
|
| 333 |
-
[f"{etext} \n 翻成中文,保留原意,但使用文学性的语言。不要写解释。列出3个版本。"],
|
| 334 |
-
["假定 1 + 2 = 4, 试求 7 + 8。"],
|
| 335 |
-
["给出判断一个数是不是质数的 javascript 码。"],
|
| 336 |
-
["给出实现python 里 range(10)的 javascript 码。"],
|
| 337 |
-
["给出实现python 里 [*(range(10)]的 javascript 码。"],
|
| 338 |
["Erkläre die Handlung von Cinderella in einem Satz."],
|
| 339 |
["Erkläre die Handlung von Cinderella in einem Satz. Auf Deutsch."],
|
| 340 |
]
|
|
@@ -343,8 +321,7 @@ logger.info("start block")
|
|
| 343 |
|
| 344 |
with gr.Blocks(
|
| 345 |
title=f"{Path(model_loc).name}",
|
| 346 |
-
theme=
|
| 347 |
-
css=css,
|
| 348 |
) as block:
|
| 349 |
# buff_var = gr.State("")
|
| 350 |
with gr.Accordion("🎈 Info", open=False):
|
|
|
|
| 313 |
[
|
| 314 |
"How long does it take to become proficient in French, and what are the best methods for retaining information?"
|
| 315 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 316 |
["Erkläre die Handlung von Cinderella in einem Satz."],
|
| 317 |
["Erkläre die Handlung von Cinderella in einem Satz. Auf Deutsch."],
|
| 318 |
]
|
|
|
|
| 321 |
|
| 322 |
with gr.Blocks(
|
| 323 |
title=f"{Path(model_loc).name}",
|
| 324 |
+
theme='ParityError/LimeFace'(text_size="sm", spacing_size="sm"),
|
|
|
|
| 325 |
) as block:
|
| 326 |
# buff_var = gr.State("")
|
| 327 |
with gr.Accordion("🎈 Info", open=False):
|