Gas96 commited on
Commit
8b6a336
·
verified ·
1 Parent(s): 6451b1f
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -26,12 +26,11 @@ def get_current_time_in_timezone(timezone: str) -> str:
26
  #Following my creation.
27
  @tool
28
  def get_fun_fact(topic: str) -> str:
29
- """
30
- Finds a fun fact about a given topic using DuckDuckGo.
31
  Args:
32
- topic (str): The topic to search for a fun fact about.
33
  Returns:
34
- str: A fun fact related to the topic or an error message.
35
  """
36
  try:
37
  search_tool = DuckDuckGoSearchTool()
 
26
  #Following my creation.
27
  @tool
28
  def get_fun_fact(topic: str) -> str:
29
+ """Finds a fun fact about a given topic using DuckDuckGo.
 
30
  Args:
31
+ topic: The topic to search for a fun fact about.
32
  Returns:
33
+ A string reporting a fun fact related to the topic or an error message.
34
  """
35
  try:
36
  search_tool = DuckDuckGoSearchTool()