Spaces:
Sleeping
Sleeping
DataRaptor
commited on
Commit
•
9022c5d
1
Parent(s):
39cb8c7
Update app.py
Browse files
app.py
CHANGED
@@ -146,7 +146,7 @@ def main():
|
|
146 |
|
147 |
context = [str(round(b, 3)) + ': ' + a for a, b in zip (context, context_prob)]
|
148 |
context = '\n\n===============================\n\n'.join(context)
|
149 |
-
response = f'###### Config: Context Checker Value: {ctx_checker_tmp}, LM Value: {lm_tmp}\n\n##### Retrived Context:\n{retrived}\n\n##### Matched Context
|
150 |
|
151 |
|
152 |
# Display assistant response in chat message container
|
|
|
146 |
|
147 |
context = [str(round(b, 3)) + ': ' + a for a, b in zip (context, context_prob)]
|
148 |
context = '\n\n===============================\n\n'.join(context)
|
149 |
+
response = f'###### Config: Context Checker Value: {ctx_checker_tmp}, LM Value: {lm_tmp}\n\n##### Retrived Context:\n{retrived}\n\n##### Matched Context:{clen}\n{context}\n\n##### Response:\n{response}'
|
150 |
|
151 |
|
152 |
# Display assistant response in chat message container
|