dianamclean commited on
Commit
3c8f318
·
verified ·
1 Parent(s): f672cf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -61,11 +61,10 @@ def get_things_todo(city: str) -> str:
61
  @tool
62
  def my_ai_joke (arg1:str, arg2:int)-> str: #it's import to specify the return type
63
  #Keep this format for the description / args / args description but feel free to modify the tool
64
- """
65
  Args:
66
- arg1: The first argument, which should be a string. The topic or subject of the joke.
67
- arg2: The second argument, which should be an integer. The temperature for joke generation (higher values = more creative, typically 0-10).
68
-
69
  """
70
  #model.temperature = arg2
71
  #joke = joke(arg1, model.temperature) #return a joke about arg1
 
61
  @tool
62
  def my_ai_joke (arg1:str, arg2:int)-> str: #it's import to specify the return type
63
  #Keep this format for the description / args / args description but feel free to modify the tool
64
+ """Generates an AI joke.
65
  Args:
66
+ arg1: The topic of the joke.
67
+ arg2: The temperature for joke generation (higher values = more creative, typically 0-10).
 
68
  """
69
  #model.temperature = arg2
70
  #joke = joke(arg1, model.temperature) #return a joke about arg1