Vaib9 commited on
Commit
5a63334
·
verified ·
1 Parent(s): 55ba7d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,9 +12,9 @@ from Gradio_UI import GradioUI
12
  @tool
13
  def web_search_tool(search_text:str)-> str: #it's import to specify the return type
14
  # Keep this format for the description / args / args description but feel free to modify the tool
15
- """A tool that does nothing yet
16
  Args:
17
- search_text: a string representing a search query from user
18
  """
19
  try:
20
  # Create a search object
 
12
  @tool
13
  def web_search_tool(search_text:str)-> str: #it's import to specify the return type
14
  # Keep this format for the description / args / args description but feel free to modify the tool
15
+ """A tool that takes user's query and performs a web search on it.
16
  Args:
17
+ search_text: A string representing a search query from user.
18
  """
19
  try:
20
  # Create a search object