patrickvonplaten commited on
Commit
2731d14
·
1 Parent(s): 27eb19b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -20,16 +20,16 @@ Options:
20
  API_URL = os.getenv("API_URL")
21
 
22
  examples = [
23
- ['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", False]
24
- ['A poem about the beauty of science by Alfred Edgar Brittle\nTitle: The Magic Craft\nIn the old times', 64, "Sample", False],
25
- ['استخراج العدد العاملي في لغة بايثون:', 32, "Greedy", False]
26
- ["Pour déguster un ortolan, il faut tout d'abord", 32, "Sample", False]
27
- ['Traduce español de España a español de Argentina\nEl coche es rojo - el auto es rojo\nEl ordenador es nuevo - la computadora es nueva\nel boligrafo es negro -', 32, "Sample", False]
28
- ['Estos ejemplos quitan vocales de las palabras\nEjemplos:\nhola - hl\nmanzana - mnzn\npapas - pps\nalacran - lcrn\npapa -', 32, "Sample", False],
29
- ["Question: If I put cheese into the fridge, will it melt?\nAnswer:", 32, "Sample", False],
30
- ["Math exercise - answers:\n34+10=44\n54+20=", 32, "Greedy", False],
31
- ["Question: Where does the Greek Goddess Persephone spend half of the year when she is not with her mother?\nAnswer:", 32, "Greedy", False],
32
- ["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:", 32, "Greedy", False],
33
  ]
34
 
35
  def query(payload):
 
20
  API_URL = os.getenv("API_URL")
21
 
22
  examples = [
23
+ ['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, "sampling", False],
24
+ ['A poem about the beauty of science by Alfred Edgar Brittle\nTitle: The Magic Craft\nIn the old times', 64, "sampling", False],
25
+ ['استخراج العدد العاملي في لغة بايثون:', 32, "greedy", False],
26
+ ["Pour déguster un ortolan, il faut tout d'abord", 32, "sampling", False],
27
+ ['Traduce español de España a español de Argentina\nEl coche es rojo - el auto es rojo\nEl ordenador es nuevo - la computadora es nueva\nel boligrafo es negro -', 32, "sampling", False],
28
+ ['Estos ejemplos quitan vocales de las palabras\nEjemplos:\nhola - hl\nmanzana - mnzn\npapas - pps\nalacran - lcrn\npapa -', 32, "sampling", False],
29
+ ["Question: If I put cheese into the fridge, will it melt?\nAnswer:", 32, "sampling", False],
30
+ ["Math exercise - answers:\n34+10=44\n54+20=", 32, "greedy", False],
31
+ ["Question: Where does the Greek Goddess Persephone spend half of the year when she is not with her mother?\nAnswer:", 32, "greedy", False],
32
+ ["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:", 32, "greedy", False]
33
  ]
34
 
35
  def query(payload):