ColeGuion commited on
Commit
42f0387
·
verified ·
1 Parent(s): 3edcd37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -11
app.py CHANGED
@@ -79,17 +79,10 @@ additional_inputs=[
79
  gr.Slider( label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Penalize repeated tokens", )
80
  ]
81
 
82
- examples=[['Give me the grammatically correct version of the sentence: "We shood buy an car"', None, None, None, None, None, ],
83
- ["Give me an example exam question testing students on square roots on basic integers", None, None, None, None, None,],
84
- ["Would this block of HTML code run?\n```\n\n```", None, None, None, None, None,],
85
- ["I have been to New York last summer.", None, None, None, None, None,],
86
- ["We shood buy an car.", None, None, None, None, None,],
87
- ["People is coming to my party.", None, None, None, None, None,],
88
- ["She is more taller.", None, None, None, None, None,],
89
- ["Their were lot of sheeps.", None, None, None, None, None,],
90
- ["I want to speak English good.", None, None, None, None, None,],
91
- ["I must to buy a new cartoon book.", None, None, None, None, None,],
92
- ]
93
 
94
  gr.ChatInterface(
95
  fn=generate,
 
79
  gr.Slider( label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Penalize repeated tokens", )
80
  ]
81
 
82
+
83
+ examples=['Give me the grammatically correct version of the sentence: "We shood buy an car"', "Give me an example exam question testing students on square roots on basic integers", "Would this block of HTML code run?\n```\n\n```", "I have been to New York last summer.", "We shood buy an car.", "People is coming to my party.", "She is more taller.", "Their were lot of sheeps.", "I want to speak English good.", "I must to buy a new cartoon book."]
84
+ examples = [[x, None, None, None, None, None] for x in examples]
85
+
 
 
 
 
 
 
 
86
 
87
  gr.ChatInterface(
88
  fn=generate,