Update app.py
Browse files7 unmodified lines8910111213141516171819111213141510 unmodified lines262728293031323334353637383940417 unmodified linesfrom Gradio_UI import GradioUI
# Below is an example of a tool that does nothing. Amaze us with your creativity !@tooldef my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type #Keep this format for the description / args / args description but feel free to modify the tool """A tool that does nothing yet Args: arg1: the first argument arg2: the second argument """ return "What magic will you build ?"from pypdf import PdfReader
@tooldef read_pdf_file(file_path: str) -> str: """10 unmodified lines for page in pages: content += page.extract_text() return content
@tooldef my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type #Keep this format for the description / args / args description but feel free to modify the tool """A tool that does nothing yet Args: arg1: the first argument arg2: the second argument """ return "What magic will you build ?" @tooldef get_current_time_in_timezone(timezone: str) -> str:app.py+12-9