Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from Gradio_UI import GradioUI
|
|
| 9 |
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
-
def convert_currency(amount: float, from_currency:
|
| 13 |
"""
|
| 14 |
Converts an amount from one currency to another using a static exchange rate list.
|
| 15 |
|
|
|
|
| 9 |
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
+
def convert_currency(amount: float, from_currency: str, to_currency: str) -> str:
|
| 13 |
"""
|
| 14 |
Converts an amount from one currency to another using a static exchange rate list.
|
| 15 |
|