Spaces:
Runtime error
Runtime error
reformulation
Browse files
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(
|