LucMarcelPellinger commited on
Commit
d214f1c
·
verified ·
1 Parent(s): 18aa3a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ from Gradio_UI import GradioUI
14
  @tool
15
  def my_custom_tool(arg1:int, arg2:int)-> str: #it's import to specify the return type
16
  #Keep this format for the description / args / args description but feel free to modify the tool
17
- """A tool that does nothing yet
18
  Args:
19
  arg1: the first argument
20
  arg2: the second argument
@@ -38,7 +38,7 @@ def hello_world(country: str) -> str:
38
 
39
 
40
  # API doesn't actually support querying by date, so we just show today's
41
- response = f"Hello to {country}"
42
  return response
43
  except Exception as e:
44
  return f"Error occurred: {str(e)}"
 
14
  @tool
15
  def my_custom_tool(arg1:int, arg2:int)-> str: #it's import to specify the return type
16
  #Keep this format for the description / args / args description but feel free to modify the tool
17
+ """A tool that summarizes two values.
18
  Args:
19
  arg1: the first argument
20
  arg2: the second argument
 
38
 
39
 
40
  # API doesn't actually support querying by date, so we just show today's
41
+ response = f"Hello to {country}, how are you?"
42
  return response
43
  except Exception as e:
44
  return f"Error occurred: {str(e)}"