thomwolf HF staff commited on
Commit
3a2b88c
·
1 Parent(s): 87d3c55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -23,12 +23,12 @@ hf_writer = gr.HuggingFaceDatasetSaver(HF_API_TOKEN, "huggingface/bloom_internal
23
 
24
 
25
  examples = [
26
- ['A "whatpu" is a small, furry animal native to Tanzania. An example of a sentence that uses the word whatpu is: We were traveling in Africa and we saw these very cute whatpus. To do a "farduddle" means to jump up and down really fast. An example of a sentence that uses the word farduddle is:', 32, "Sample", 1],
27
- ["Pour déguster un ortolan, il faut tout d'abord", 32, "Sample", 1],
28
- ["Question: If I put cheese into the fridge, will it melt?\nAnswer:", 32, "Sample", 1],
29
- ["Math exercise - answers:\n34+10=44\n54+20=", 16, "Greedy", 1],
30
- ["Question: Where does the Greek Goddess Persephone spend half of the year when she is not with her mother?\nAnswer:", 24, "Greedy", 1],
31
- ["spelling test answers.\nWhat are the letters in « language »?\nAnswer: l-a-n-g-u-a-g-e\nWhat are the letters in « Romanian »?\nAnswer:", 24, "Greedy", 1],
32
  ]
33
 
34
  def query(payload):
 
23
 
24
 
25
  examples = [
26
+ ['A "whatpu" is a small, furry animal native to Tanzania. An example of a sentence that uses the word whatpu is: We were traveling in Africa and we saw these very cute whatpus. To do a "farduddle" means to jump up and down really fast. An example of a sentence that uses the word farduddle is:', 32, "Sample", "Sample 1"],
27
+ ["Pour déguster un ortolan, il faut tout d'abord", 32, "Sample", "Sample 1"],
28
+ ["Question: If I put cheese into the fridge, will it melt?\nAnswer:", 32, "Sample", "Sample 1"],
29
+ ["Math exercise - answers:\n34+10=44\n54+20=", 16, "Greedy", "Sample 1"],
30
+ ["Question: Where does the Greek Goddess Persephone spend half of the year when she is not with her mother?\nAnswer:", 24, "Greedy", "Sample 1"],
31
+ ["spelling test answers.\nWhat are the letters in « language »?\nAnswer: l-a-n-g-u-a-g-e\nWhat are the letters in « Romanian »?\nAnswer:", 24, "Greedy", "Sample 1"],
32
  ]
33
 
34
  def query(payload):