KushwanthK commited on
Commit
38ef87d
1 Parent(s): 5dedcc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=longtext, question=query)
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