Avo-k commited on
Commit
5e693cc
1 Parent(s): c2eef62

reformulation

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -104,8 +104,6 @@ def chat(
104
  for i, d in enumerate(docs, 1)
105
  ]
106
  )
107
-
108
- if sources:
109
  messages.append({"role": "system", "content": f"{os.environ['sources']}\n\n{sources}"})
110
 
111
  response = openai.Completion.create(
 
104
  for i, d in enumerate(docs, 1)
105
  ]
106
  )
 
 
107
  messages.append({"role": "system", "content": f"{os.environ['sources']}\n\n{sources}"})
108
 
109
  response = openai.Completion.create(