SandLogicTechnologies commited on
Commit
80a7d2c
·
verified ·
1 Parent(s): 7b29ac5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,8 +49,8 @@ def generate(
49
  conversation = []
50
  if system_prompt:
51
  conversation.append({"role": "system", "content": system_prompt})
52
- else:
53
- conversation.append(os.getenv("PROMPT"))
54
 
55
  for user, assistant in chat_history:
56
  conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
 
49
  conversation = []
50
  if system_prompt:
51
  conversation.append({"role": "system", "content": system_prompt})
52
+ # else:
53
+ # conversation.append(os.getenv("PROMPT"))
54
 
55
  for user, assistant in chat_history:
56
  conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])