Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -76,11 +76,41 @@ def respond(
|
|
76 |
raise gr.Error(f"发生错误: {str(e)}")
|
77 |
|
78 |
example_prompts = [
|
79 |
-
[
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
]
|
85 |
latex_delimiters = [
|
86 |
{"left": "$$", "right": "$$", "display": True},
|
|
|
76 |
raise gr.Error(f"发生错误: {str(e)}")
|
77 |
|
78 |
example_prompts = [
|
79 |
+
[
|
80 |
+
"Write a short papragraph where the 1st letter of each sentence spells out the word 'CODE'. The message should appear natural and not obviously hide this pattern.",
|
81 |
+
"你是一个电影推荐助手",
|
82 |
+
256, # 生成约 200 字
|
83 |
+
0.8, # 中等创意
|
84 |
+
0.85
|
85 |
+
],
|
86 |
+
[
|
87 |
+
"Compose an engaging travel blog post about a recent trip to Hawaii, highlighting cultural experiences and must-see attractions.",
|
88 |
+
"你是一个AI教授",
|
89 |
+
128, # 简短定义
|
90 |
+
0.3, # 高确定性
|
91 |
+
0.9
|
92 |
+
],
|
93 |
+
[
|
94 |
+
"Why has online learning been able to spread rapidly in recent years?",
|
95 |
+
"你是一个数学老师",
|
96 |
+
64,
|
97 |
+
0.1,
|
98 |
+
0.95
|
99 |
+
],
|
100 |
+
[
|
101 |
+
"How many 'e' in Deeplearning?",
|
102 |
+
"你是一个科幻作家",
|
103 |
+
512,
|
104 |
+
1.2,
|
105 |
+
0.75
|
106 |
+
],
|
107 |
+
[
|
108 |
+
"Write a 3-line poem",
|
109 |
+
"你是一个历史学者",
|
110 |
+
384,
|
111 |
+
0.6,
|
112 |
+
0.88
|
113 |
+
]
|
114 |
]
|
115 |
latex_delimiters = [
|
116 |
{"left": "$$", "right": "$$", "display": True},
|