Spaces:
Sleeping
Sleeping
Update other example
Browse files
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 |
-
|
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 |
|