Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,12 +10,9 @@ from Gradio_UI import GradioUI
|
|
10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
11 |
@tool
|
12 |
def secret_number_guesser(guess: int) -> str:
|
13 |
-
"""
|
14 |
-
A tool that contains a secret number between 0 and 100. It provides hints ('greater than', 'less than', or 'equals to')
|
15 |
-
based on the input guess compared to the secret number. The secret number is hidden from the agent.
|
16 |
-
|
17 |
Args:
|
18 |
-
guess
|
19 |
|
20 |
Returns:
|
21 |
str: A hint indicating whether the guess is greater than, less than, or equal to the secret number.
|
|
|
10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
11 |
@tool
|
12 |
def secret_number_guesser(guess: int) -> str:
|
13 |
+
"""A tool that contains a secret number between 0 and 100. It provides hints ('greater than', 'less than', or 'equals to') based on the input guess compared to the secret number. The secret number is hidden from the agent.
|
|
|
|
|
|
|
14 |
Args:
|
15 |
+
guess: The number guessed by the user, which will be compared to the secret number.
|
16 |
|
17 |
Returns:
|
18 |
str: A hint indicating whether the guess is greater than, less than, or equal to the secret number.
|