Kajise Org commited on
Commit
9e5bd19
1 Parent(s): aaffd14

Spacing between search results

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,12 +48,12 @@ def search_ddg(question: str):
48
  continue
49
 
50
  for step in range(len(results)):
51
- output_string += f"{step + 1}. {results[step]} \n"
52
 
53
  return output_string
54
 
55
  def generate(instruction):
56
- feeding_data = search_ddg(instruction)
57
  prompt = ins.format(question=instruction, data=feeding_data)
58
  print(prompt)
59
 
 
48
  continue
49
 
50
  for step in range(len(results)):
51
+ output_string += f"{results[step]} \n"
52
 
53
  return output_string
54
 
55
  def generate(instruction):
56
+ feeding_data = "\n" + search_ddg(instruction)
57
  prompt = ins.format(question=instruction, data=feeding_data)
58
  print(prompt)
59