acumplid commited on
Commit
6c6db75
1 Parent(s): 60311f6

Fix bug assigning context variable

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ rag = RAG(
24
 
25
  def generate(prompt, model_parameters):
26
  try:
27
- output = rag.get_response(prompt, model_parameters)
28
  return output
29
  except HTTPError as err:
30
  if err.code == 400:
 
24
 
25
  def generate(prompt, model_parameters):
26
  try:
27
+ output, context = rag.get_response(prompt, model_parameters)
28
  return output
29
  except HTTPError as err:
30
  if err.code == 400: