Spaces:
Runtime error
Runtime error
Commit
·
f38071d
1
Parent(s):
0366d06
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ chat_history = []
|
|
66 |
def answer_question(question):
|
67 |
global chat_history
|
68 |
result = chain({"question": question, "chat_history": chat_history})
|
69 |
-
fonti = "\n==================================\nFONTI"
|
70 |
source_documents = result['source_documents']
|
71 |
for index, document in enumerate(source_documents):
|
72 |
fonti=fonti+f"Fonte {index + 1}:\n"
|
|
|
66 |
def answer_question(question):
|
67 |
global chat_history
|
68 |
result = chain({"question": question, "chat_history": chat_history})
|
69 |
+
fonti = "\n\n==================================\nFONTI:\n"
|
70 |
source_documents = result['source_documents']
|
71 |
for index, document in enumerate(source_documents):
|
72 |
fonti=fonti+f"Fonte {index + 1}:\n"
|