thomwolf HF staff commited on
Commit
425763b
1 Parent(s): 3794702

Update other example

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -132,7 +132,7 @@ def generate(prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition
132
  examples = [
133
  "def print_hello_world():",
134
  'def fibonacci(n: int) -> int:\n """ Compute the n-th Fibonacci number. """',
135
- "class TransformerDecoder(nn.Module):",
136
  "class ComplexNumbers:"
137
  ]
138
 
 
132
  examples = [
133
  "def print_hello_world():",
134
  'def fibonacci(n: int) -> int:\n """ Compute the n-th Fibonacci number. """',
135
+ 'from typing import List, Tuple\n\ndef sum_and_product(numbers: List[int]) -> Tuple[int, int]:\n """ Return the sum and the product of the integers in the list as a tuple. Here is the answer of the exercise"""',
136
  "class ComplexNumbers:"
137
  ]
138