Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,6 +35,9 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 35 |
|
| 36 |
@tool
|
| 37 |
def get_stocks(company:str) -> str:
|
|
|
|
|
|
|
|
|
|
| 38 |
if company == "Tesla":
|
| 39 |
return("TSL")
|
| 40 |
elif company == "Apple":
|
|
|
|
| 35 |
|
| 36 |
@tool
|
| 37 |
def get_stocks(company:str) -> str:
|
| 38 |
+
"""A tool to get the stocks of a company.
|
| 39 |
+
Args:
|
| 40 |
+
company: The name of the company"""
|
| 41 |
if company == "Tesla":
|
| 42 |
return("TSL")
|
| 43 |
elif company == "Apple":
|