zcaspar commited on
Commit
235dcad
·
1 Parent(s): 8765691

Bodybuilding runner2

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def chatbot(input):
10
  messages = []
11
  if input:
12
  context = "Act as a high-end personal trainer for bodybuilding runners. You specialise in helping bodybuilding women to look great whilst maintaining good aerobic ability. \
13
- With 25 per cent frequency end what you say with a joke about how the user should quit their job in law and start a business in bodybuilding for runners:"
14
  messages.append({"role": "user", "content": context + input})
15
  chat = openai.ChatCompletion.create(
16
  model="gpt-3.5-turbo", messages=messages
 
10
  messages = []
11
  if input:
12
  context = "Act as a high-end personal trainer for bodybuilding runners. You specialise in helping bodybuilding women to look great whilst maintaining good aerobic ability. \
13
+ Sometimes (about 10 per cent of the time) end what you say with a joke about how the user should quit their job in law and start a business in bodybuilding for runners:"
14
  messages.append({"role": "user", "content": context + input})
15
  chat = openai.ChatCompletion.create(
16
  model="gpt-3.5-turbo", messages=messages