SevioCreatives commited on
Commit
da72fc1
·
verified ·
1 Parent(s): 9514ad8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -32,9 +32,9 @@ def get_gas_fee_estimate(start: str, end: str)-> str: #it's import to specify th
32
  @tool
33
  def get_asset_price(asset: str, base_curr: str):
34
 
35
- """A tool that gets the current price of a given digital asset
36
  Args:
37
- asset: A string representing a valid digital asset name (e.g., ethereum)
38
  base_curr: A string that represents a valid base currency (e.g., usd).
39
  """
40
 
@@ -54,10 +54,10 @@ def get_asset_price(asset: str, base_curr: str):
54
 
55
  @tool
56
  def get_weather_weatherapi(city: str, state: str) -> str:
57
- """A tool that gets the current weather
58
  Args:
59
- city: A string that represents a valid city name
60
- state: A String that represents a valid state name
61
  """
62
  api_key = "dbe243d225564a6d8fc195119250406"
63
  location = f"{city},{state}"
 
32
  @tool
33
  def get_asset_price(asset: str, base_curr: str):
34
 
35
+ """A tool that gets the current price of a given digital asset.
36
  Args:
37
+ asset: A string representing a valid digital asset name (e.g., ethereum).
38
  base_curr: A string that represents a valid base currency (e.g., usd).
39
  """
40
 
 
54
 
55
  @tool
56
  def get_weather_weatherapi(city: str, state: str) -> str:
57
+ """A tool that gets the current weather.
58
  Args:
59
+ city: A string that represents a valid city name (e.g., San Diego).
60
+ state: A String that represents a valid state name (e.g., California).
61
  """
62
  api_key = "dbe243d225564a6d8fc195119250406"
63
  location = f"{city},{state}"