Spaces:
Runtime error
Runtime error
Kajise Org
commited on
Commit
•
9e5bd19
1
Parent(s):
aaffd14
Spacing between search results
Browse files
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"{
|
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 |
|