dianamclean commited on
Commit
afe4323
·
verified ·
1 Parent(s): 8aa6519

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -15
app.py CHANGED
@@ -33,21 +33,6 @@ def get_current_time_in_timezone(timezone: str) -> str:
33
  except Exception as e:
34
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
35
 
36
- def get_joke_tool(arg1:str)-> str: #it's import to specify the return type
37
- #Keep this format for the description / args / args description but feel free to modify the tool
38
- """A tool that tells a joke
39
- Args:
40
- arg1: the first argument ex programming
41
- arg2: the second argument ex 0
42
- """
43
- if arg1 = "programming":
44
- joke= "why didn't the programmer quit his job? because he didn't get a raise"
45
-
46
- else:
47
- "What magic will you build ?"
48
-
49
- return joke
50
-
51
 
52
 
53
 
 
33
  except Exception as e:
34
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
 
38