Spaces:
Runtime error
Runtime error
metehan yalçın
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ Args:
|
|
| 21 |
#return "What magic will you build ?"
|
| 22 |
|
| 23 |
@tool
|
| 24 |
-
def my_custom_tool(currency_name: str, currency_value:
|
| 25 |
"""A tool that converts an amount from one currency to another using current exchange rates.
|
| 26 |
|
| 27 |
Args:
|
|
|
|
| 21 |
#return "What magic will you build ?"
|
| 22 |
|
| 23 |
@tool
|
| 24 |
+
def my_custom_tool(currency_name: str, currency_value: float, target_currency: str) -> float:
|
| 25 |
"""A tool that converts an amount from one currency to another using current exchange rates.
|
| 26 |
|
| 27 |
Args:
|