mikeee commited on
Commit
07b4422
1 Parent(s): 3943200

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -168,7 +168,7 @@ with gr.Blocks(
168
  gr.Markdown(
169
  f"""<h4><center>{model_filename}</center></h4>
170
 
171
- The examples are meant for another model. You probably should try
172
  some coder-related prompts.
173
 
174
  Try to refresh the browser and try again when occasionally errors occur.
@@ -210,6 +210,9 @@ with gr.Blocks(
210
  etext = """In America, where cars are an important part of the national psyche, a decade ago people had suddenly started to drive less, which had not happened since the oil shocks of the 1970s. """
211
  examples = gr.Examples(
212
  examples=[
 
 
 
213
  ["Explain the plot of Cinderella in a sentence."],
214
  [
215
  "How long does it take to become proficient in French, and what are the best methods for retaining information?"
@@ -231,9 +234,6 @@ with gr.Blocks(
231
  ["以红楼梦的行文风格写一张委婉的请假条。不少于320字。"],
232
  [f"{etext} 翻成中文,列出3个版本"],
233
  [f"{etext} \n 翻成中文,保留原意,但使用文学性的语言。不要写解释。列出3个版本"],
234
- ["js 判断一个数是不是质数"],
235
- ["js 实现python 的 range(10)"],
236
- ["js 实现python 的 [*(range(10)]"],
237
  ["假定 1 + 2 = 4, 试求 7 + 8"],
238
  ["Erkläre die Handlung von Cinderella in einem Satz."],
239
  ["Erkläre die Handlung von Cinderella in einem Satz. Auf Deutsch"],
 
168
  gr.Markdown(
169
  f"""<h4><center>{model_filename}</center></h4>
170
 
171
+ Most examples are meant for another model. You probably should try
172
  some coder-related prompts.
173
 
174
  Try to refresh the browser and try again when occasionally errors occur.
 
210
  etext = """In America, where cars are an important part of the national psyche, a decade ago people had suddenly started to drive less, which had not happened since the oil shocks of the 1970s. """
211
  examples = gr.Examples(
212
  examples=[
213
+ ["js 判断一个数是不是质数"],
214
+ ["js 实现python 的 range(10)"],
215
+ ["js 实现python 的 [*(range(10)]"],
216
  ["Explain the plot of Cinderella in a sentence."],
217
  [
218
  "How long does it take to become proficient in French, and what are the best methods for retaining information?"
 
234
  ["以红楼梦的行文风格写一张委婉的请假条。不少于320字。"],
235
  [f"{etext} 翻成中文,列出3个版本"],
236
  [f"{etext} \n 翻成中文,保留原意,但使用文学性的语言。不要写解释。列出3个版本"],
 
 
 
237
  ["假定 1 + 2 = 4, 试求 7 + 8"],
238
  ["Erkläre die Handlung von Cinderella in einem Satz."],
239
  ["Erkläre die Handlung von Cinderella in einem Satz. Auf Deutsch"],