Spaces:
Build error
Build error
Upload utils.py
Browse files
utils.py
CHANGED
@@ -115,7 +115,7 @@ def text_lookup(data, sentence_ids):
|
|
115 |
|
116 |
|
117 |
def generate_prompt(query_text, context_list):
|
118 |
-
context = " \n".join(context_list)
|
119 |
prompt = f"""
|
120 |
Context information is below:
|
121 |
---------------------
|
|
|
115 |
|
116 |
|
117 |
def generate_prompt(query_text, context_list):
|
118 |
+
context = " \n\n".join(context_list)
|
119 |
prompt = f"""
|
120 |
Context information is below:
|
121 |
---------------------
|