Jeffgold commited on
Commit
8bee616
·
verified ·
1 Parent(s): a045795

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -32,7 +32,10 @@ def get_current_time_in_timezone(timezone: str) -> str:
32
 
33
  @tool
34
  def guess_city_for_timezone(timezone: str) -> str:
35
- # Could do a minimal lookup or a real search, for example:
 
 
 
36
  known_timezones_to_cities = {
37
  "America/Los_Angeles": "Los Angeles",
38
  "America/New_York": "New York",
 
32
 
33
  @tool
34
  def guess_city_for_timezone(timezone: str) -> str:
35
+ '''A tool to guess a city in a timezone
36
+ Args:
37
+ timezone: A string representing a valid timezone (e.g., 'America/New_York').
38
+ '''
39
  known_timezones_to_cities = {
40
  "America/Los_Angeles": "Los Angeles",
41
  "America/New_York": "New York",