ccm commited on
Commit
334d10d
·
verified ·
1 Parent(s): 2b6142b

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -5
main.py CHANGED
@@ -86,11 +86,7 @@ def preprocess(query: str, k: int) -> tuple[str, str]:
86
  text = top_five["text"].values[i]
87
 
88
  research_abstracts += str(i + i) + ". This excerpt is from: '" + title + "':\n" + text + "\n"
89
- header = "["
90
- + title.title()
91
- + "]("
92
- + url
93
- + ")\n"
94
 
95
  if header not in references.keys():
96
  references[header] = []
 
86
  text = top_five["text"].values[i]
87
 
88
  research_abstracts += str(i + i) + ". This excerpt is from: '" + title + "':\n" + text + "\n"
89
+ header = "[" + title.title() + "](" + url + ")\n"
 
 
 
 
90
 
91
  if header not in references.keys():
92
  references[header] = []