ccm commited on
Commit
3464ff8
·
verified ·
1 Parent(s): 3dbe254

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -100,7 +100,7 @@ def preprocess(query: str, k: int) -> tuple[str, str]:
100
 
101
  print(references)
102
 
103
- return prompt, "\n\n### References\n\n"+"\n".join([str(i+1)+". " + ref + "\n - ".join(["", *["\"..." + x + "...\" for x in references[ref]]]) for i, ref in enumerate(references.keys())])
104
 
105
  def postprocess(response: str, bypass_from_preprocessing: str) -> str:
106
  """
 
100
 
101
  print(references)
102
 
103
+ return prompt, "\n\n### References\n\n"+"\n".join([str(i+1)+". " + ref + "\n - ".join(["", *["\"..." + x + "...\"" for x in references[ref]]]) for i, ref in enumerate(references.keys())])
104
 
105
  def postprocess(response: str, bypass_from_preprocessing: str) -> str:
106
  """