Spaces:
Runtime error
Runtime error
KushwanthK
commited on
Commit
•
38ef87d
1
Parent(s):
5dedcc5
Update app.py
Browse files
app.py
CHANGED
@@ -155,7 +155,7 @@ def prompt_engineer(text, longtext, query):
|
|
155 |
"""
|
156 |
|
157 |
prompt_template = ChatPromptTemplate.from_template(GENERATION_PROMPT_TEMPLATE)
|
158 |
-
prompt = prompt_template.format(context=
|
159 |
response_text = ""
|
160 |
result = ""
|
161 |
|
|
|
155 |
"""
|
156 |
|
157 |
prompt_template = ChatPromptTemplate.from_template(GENERATION_PROMPT_TEMPLATE)
|
158 |
+
prompt = prompt_template.format(context=text, question=query)
|
159 |
response_text = ""
|
160 |
result = ""
|
161 |
|