jblocher commited on
Commit
ab3e170
·
1 Parent(s): 3c54aee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,11 +16,11 @@ Begin by asking me my name, the topic of our conversation, and the type of assig
16
  """
17
 
18
  #model = "gpt-3.5-turbo" # free and fast
19
- #model = "gpt-4" # latest and greatest
20
 
21
  def CustomChatGPT(message, history, user_name):
22
  history_openai_format = [{"role": "system", "content": sys_message}]
23
- history_openai_format.append({"role": "assistant", "content": f"Hi, '{dd}', what would you like to talk about today?"})
24
  for human, assistant in history:
25
  history_openai_format.append({"role": "user", "content": human})
26
  history_openai_format.append({"role": "assistant", "content": assistant})
 
16
  """
17
 
18
  #model = "gpt-3.5-turbo" # free and fast
19
+ #model = "gpt-4" # latest and greatest, not yet available
20
 
21
  def CustomChatGPT(message, history, user_name):
22
  history_openai_format = [{"role": "system", "content": sys_message}]
23
+ #history_openai_format.append({"role": "assistant", "content": f"Hi, '{dd}', what would you like to talk about today?"})
24
  for human, assistant in history:
25
  history_openai_format.append({"role": "user", "content": human})
26
  history_openai_format.append({"role": "assistant", "content": assistant})