dianamclean commited on
Commit
5789023
·
verified ·
1 Parent(s): 59b0514

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -67,9 +67,9 @@ def my_ai_joke (arg1:str, arg2:int)-> str: #it's import to specify the return ty
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
- model.temperature = arg2
71
- joke = joke(arg1, model.temperature) #return a joke about arg1
72
- #joke = "What magic will you build ?"
73
  return joke
74
 
75
  final_answer = FinalAnswerTool()
 
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
+ #model.temperature = arg2
71
+ #joke = joke(arg1, model.temperature) #return a joke about arg1
72
+ joke = "What magic will you build ?"
73
  return joke
74
 
75
  final_answer = FinalAnswerTool()