jozzy commited on
Commit
2ac681c
·
1 Parent(s): bd3d051

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- User_Question = f'<span style="background-color: green;">{system_message}</span>'
140
 
141
 
142
 
143
- return chats
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