okezh commited on
Commit
939ab1e
·
verified ·
1 Parent(s): a6e61dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -21,16 +21,17 @@ from Gradio_UI import GradioUI
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:
 
21
  @tool
22
  def my_custom_tool(arg1: str, arg2: int) -> str:
23
  """
24
+ Generates an energetic chant with repetition.
25
 
26
  Args:
27
+ arg1 (str): The word to be chanted with enthusiasm.
28
  arg2 (int): The number of times to repeat the chant.
29
 
30
  Returns:
31
+ str: A fun, repeated chant with emojis.
32
  """
33
+ chant = " ".join([arg1.upper() + "!" for _ in range(arg2)])
34
+ return f"🔥🔥🔥🔥🔥 {chant} 🔥🔥🔥🔥🔥"
35
 
36
  @tool
37
  def get_current_time_in_timezone(timezone: str) -> str: