Update app.py
Browse files
app.py
CHANGED
@@ -39,8 +39,7 @@ def predict(message, history):
|
|
39 |
docs = docsearch.similarity_search(message)
|
40 |
response = chain.run(input_documents=docs, question=message)
|
41 |
|
42 |
-
|
43 |
-
|
44 |
partial_message = ""
|
45 |
for chunk in response:
|
46 |
if len(chunk['choices'][0]['delta']) != 0:
|
|
|
39 |
docs = docsearch.similarity_search(message)
|
40 |
response = chain.run(input_documents=docs, question=message)
|
41 |
|
42 |
+
|
|
|
43 |
partial_message = ""
|
44 |
for chunk in response:
|
45 |
if len(chunk['choices'][0]['delta']) != 0:
|