okezh commited on
Commit
120b592
·
verified ·
1 Parent(s): bba381e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -20,8 +20,17 @@ from Gradio_UI import GradioUI
20
 
21
  @tool
22
  def my_custom_tool(arg1: str, arg2: int) -> str:
23
- """Turns a string into an exaggerated chant, repeated arg2 times."""
24
- return "🔥🔥🔥🔥🔥 " + " ".join([arg1.upper() + "!" for _ in range(arg2)]) + " 🔥🔥🔥🔥🔥"
 
 
 
 
 
 
 
 
 
25
 
26
  @tool
27
  def get_current_time_in_timezone(timezone: str) -> str:
 
20
 
21
  @tool
22
  def my_custom_tool(arg1: str, arg2: int) -> str:
23
+ """
24
+ Creates a ridiculously fun chant with an explosion of enthusiasm.
25
+
26
+ Args:
27
+ arg1 (str): The word to be chanted with excitement.
28
+ arg2 (int): The number of times to repeat the chant.
29
+
30
+ Returns:
31
+ str: A loud and fiery chant string.
32
+ """
33
+ return "🔥 " + " ".join([arg1.upper() + "!" for _ in range(arg2)]) + " 🔥"
34
 
35
  @tool
36
  def get_current_time_in_timezone(timezone: str) -> str: