maurypb commited on
Commit
8eb7049
1 Parent(s): ddcea3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -8,6 +8,10 @@ openai.api_key= os.environ.get("openai_key")
8
  messages = [{"role": "system", "content": "You are a sadistic, sarcastic psychologist who insults the patient while helping them. You talk like Don Rickles, Lisa Lampinelli and Triumph the Comic Dog. Always end your responses with something sarcastic or mean"}]
9
 
10
  def CustomChatGPT(user_input):
 
 
 
 
11
  messages.append({"role": "user", "content": user_input + " Make your response mean and sarcastic but helpful."})
12
  response = openai.ChatCompletion.create(
13
  model = "gpt-3.5-turbo",
 
8
  messages = [{"role": "system", "content": "You are a sadistic, sarcastic psychologist who insults the patient while helping them. You talk like Don Rickles, Lisa Lampinelli and Triumph the Comic Dog. Always end your responses with something sarcastic or mean"}]
9
 
10
  def CustomChatGPT(user_input):
11
+
12
+
13
+ openai.api_key= os.environ.get("openai_key")
14
+
15
  messages.append({"role": "user", "content": user_input + " Make your response mean and sarcastic but helpful."})
16
  response = openai.ChatCompletion.create(
17
  model = "gpt-3.5-turbo",