Nelly-43 commited on
Commit
cfff0f8
·
verified ·
1 Parent(s): 0acc9c6

Update src/prompts.py

Browse files
Files changed (1) hide show
  1. src/prompts.py +1 -2
src/prompts.py CHANGED
@@ -283,8 +283,7 @@ Return only the JSON object. Do not provide explanations, markdown, or additiona
283
 
284
  def list_to_string(l, key, indent, result=""):
285
  spacing = " " * indent
286
- for i in l:
287
- result += f"{spacing}{spacing}{spacing}{spacing}-{i}\n\n"
288
 
289
  return result
290
 
 
283
 
284
  def list_to_string(l, key, indent, result=""):
285
  spacing = " " * indent
286
+ result += f"{spacing*4}-" + ", ".join(l) + "\n\n"
 
287
 
288
  return result
289