enoreyes commited on
Commit
fef4c89
1 Parent(s): fb3fc17

Update chain.py

Browse files
Files changed (1) hide show
  1. chain.py +1 -1
chain.py CHANGED
@@ -51,7 +51,7 @@ class CustomChain(Chain, BaseModel):
51
 
52
  source_string = "\n\n*Sources:* "
53
  for i, source in enumerate(set(source_list)):
54
- source_string += f"<a href=\"https://{source}\" target=\"_blank\">[{i}]</a>""
55
 
56
  final_answer = answer + source_string
57
  return {"answer": final_answer}
 
51
 
52
  source_string = "\n\n*Sources:* "
53
  for i, source in enumerate(set(source_list)):
54
+ source_string += f"<a href=\"https://{source}\" target=\"_blank\">[{i}]</a>"
55
 
56
  final_answer = answer + source_string
57
  return {"answer": final_answer}