enoreyes commited on
Commit
77cefa9
1 Parent(s): ff66968

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -29,6 +29,7 @@ chain = RetrievalQAWithSourcesChain.from_chain_type(llm, chain_type="stuff", ret
29
  def chat(message, history):
30
  history = history or []
31
  response = ""
 
32
  try:
33
  response = chain({"question": f"{message}"}, return_only_outputs=True)
34
  markdown = generate_markdown(response)
 
29
  def chat(message, history):
30
  history = history or []
31
  response = ""
32
+ markdown = ""
33
  try:
34
  response = chain({"question": f"{message}"}, return_only_outputs=True)
35
  markdown = generate_markdown(response)