dlaima commited on
Commit
7a52a82
·
verified ·
1 Parent(s): dad7995

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -11
app.py CHANGED
@@ -19,17 +19,7 @@ from Gradio_UI import GradioUI
19
  # """
20
  # return "What magic will you build ?"
21
 
22
- # tool to create a personalized greeting repeated a specific number of times.
23
- @tool
24
- def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
25
- #Keep this format for the description / args / args description but feel free to modify the tool
26
- """A tool that creates a personalized greeting repeated multiple times.
27
- Args:
28
- arg1: the name or phrase to greet
29
- arg2: the number of times to repeat the greeting
30
- """
31
- greeting = f"Hello, {arg1}!"
32
- return " ".join([greeting] * arg2)
33
 
34
 
35
 
 
19
  # """
20
  # return "What magic will you build ?"
21
 
22
+
 
 
 
 
 
 
 
 
 
 
23
 
24
 
25