Update app.py
Browse files
app.py
CHANGED
|
@@ -136,11 +136,11 @@ def talk2file(index_name, text):
|
|
| 136 |
Title2 = '<h2 style="background-color: blue;"><b>Context Found: </b></h2>'
|
| 137 |
context = f'<span style="background-color: blue;">{docs[0].page_content}</span>'
|
| 138 |
Title3 = '<h2 style="background-color: green;"><b>Ansewr: </b></h2>'
|
| 139 |
-
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
-
return
|
| 144 |
|
| 145 |
|
| 146 |
|
|
|
|
| 136 |
Title2 = '<h2 style="background-color: blue;"><b>Context Found: </b></h2>'
|
| 137 |
context = f'<span style="background-color: blue;">{docs[0].page_content}</span>'
|
| 138 |
Title3 = '<h2 style="background-color: green;"><b>Ansewr: </b></h2>'
|
| 139 |
+
answer = f'<span style="background-color: green;">{system_message}</span>'
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
+
return Title1 + User_Question + Title2 + context + Title3 + answer
|
| 144 |
|
| 145 |
|
| 146 |
|