Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def get_dice_rolls(n_faces:int, n_dice:int)-> str:
|
|
| 16 |
n_faces: number of dice faces
|
| 17 |
n_dice: number of dice to roll
|
| 18 |
"""
|
| 19 |
-
return [random.randint(1,
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 16 |
n_faces: number of dice faces
|
| 17 |
n_dice: number of dice to roll
|
| 18 |
"""
|
| 19 |
+
return [random.randint(1, n_faces) for _ in range(n_dice)]
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def get_current_time_in_timezone(timezone: str) -> str:
|