Inframat-x commited on
Commit
d824ebc
·
1 Parent(s): 0923589

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -474,9 +474,10 @@ def synthesize_with_llm(question: str, sentence_lines: List[str], model: str = N
474
  ],
475
  temperature=temperature,
476
  )
477
- print(str(getattr(resp, "output_text", None) or str(resp)))
478
  return getattr(resp, "output_text", None) or str(resp)
479
  except Exception:
 
480
  return None
481
 
482
  def rag_reply(
 
474
  ],
475
  temperature=temperature,
476
  )
477
+ print(resp.output_text)
478
  return getattr(resp, "output_text", None) or str(resp)
479
  except Exception:
480
+ print("error in LLM synthesis")
481
  return None
482
 
483
  def rag_reply(