Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,13 +13,8 @@ from typing import List
|
|
| 13 |
|
| 14 |
|
| 15 |
def has_close_elements(numbers: List[float], threshold: float) -> bool:
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
>>> has_close_elements([1.0, 2.0, 3.0], 0.5)
|
| 19 |
-
False
|
| 20 |
-
>>> has_close_elements([1.0, 2.8, 3.0, 4.0, 5.0, 2.0], 0.3)
|
| 21 |
-
True
|
| 22 |
-
"""
|
| 23 |
"""
|
| 24 |
messages = [
|
| 25 |
{"role": "user", "content": prompt}
|
|
|
|
| 13 |
|
| 14 |
|
| 15 |
def has_close_elements(numbers: List[float], threshold: float) -> bool:
|
| 16 |
+
|
| 17 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
"""
|
| 19 |
messages = [
|
| 20 |
{"role": "user", "content": prompt}
|