dianamclean commited on
Commit
0266050
·
verified ·
1 Parent(s): a6c08bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -63,15 +63,15 @@ def my_ai_joke (arg1:str, arg2:int)-> str: #it's import to specify the return ty
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. For example, "programming", "elephants", etc.
67
- arg2: The first argument, which should be an integer. The temperature for joke generation (higher values = more creative, typically 0-10).
68
-
69
-
70
- Example usage (replace with your desired topic and temperature)
71
- topic = "programming"
72
- temperature = 7 # Example temperature (scale from 0-10, generally)
73
- joke = my_ai_joke(topic, temperature)
74
- print(joke)
75
 
76
 
77
  """
 
63
  #Keep this format for the description / args / args description but feel free to modify the tool
64
  """
65
  Args:
66
+ arg1:str The first argument, which should be a string. The topic or subject of the joke. For example, "programming", "elephants", etc.
67
+ arg2:int The first argument, which should be an integer. The temperature for joke generation (higher values = more creative, typically 0-10).
68
+ joke: str This is the joke that will be returned.
69
+
70
+ # Example usage (replace with your desired topic and temperature)
71
+ # topic = "programming"
72
+ # temperature = 7 # Example temperature (scale from 0-10, generally)
73
+ # joke = my_ai_joke(topic, temperature)
74
+ # print(joke)
75
 
76
 
77
  """