mbilalsardar commited on
Commit
d68103f
·
verified ·
1 Parent(s): 3f45dfe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -17,11 +17,11 @@ def addition(arg1:int, arg2:int)-> int: #it's import to specify the return type
17
  arg2: the second argument
18
  """
19
  return arg1 + arg2
20
-
21
  @tool
22
- def get_emoji(type:str)-> str: #it's import to specify the return type
23
-
24
- """A tool that does returns emoji based on type.
25
  Args:
26
  type: the first argument
27
  """
@@ -36,7 +36,7 @@ def get_emoji(type:str)-> str: #it's import to specify the return type
36
  emoji = "XD"
37
  else:
38
  emoji = 'type not present'
39
-
40
  return emoji
41
 
42
  @tool
 
17
  arg2: the second argument
18
  """
19
  return arg1 + arg2
20
+
21
  @tool
22
+ def get_emoji(type: str) -> str:
23
+ """A tool that returns emoji based on type.
24
+
25
  Args:
26
  type: the first argument
27
  """
 
36
  emoji = "XD"
37
  else:
38
  emoji = 'type not present'
39
+
40
  return emoji
41
 
42
  @tool