Raffaele Terribile
commited on
Modifica la descrizione del tool per invertire le frasi
Browse files
app.py
CHANGED
@@ -12,9 +12,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
12 |
|
13 |
@tool
|
14 |
def invert_sentence(sentence: str) -> str:
|
15 |
-
"""
|
16 |
-
Inverts the order of all characters in a sentence.
|
17 |
-
"""
|
18 |
return sentence[::-1]
|
19 |
|
20 |
# --- First Agent Definition ---
|
|
|
12 |
|
13 |
@tool
|
14 |
def invert_sentence(sentence: str) -> str:
|
15 |
+
""" Inverts the order of all characters in a sentence. """
|
|
|
|
|
16 |
return sentence[::-1]
|
17 |
|
18 |
# --- First Agent Definition ---
|