Spaces:
Paused
Paused
Update src/prompts.py
Browse files- src/prompts.py +1 -1
src/prompts.py
CHANGED
|
@@ -299,7 +299,7 @@ def dict_to_string(d, indent=0):
|
|
| 299 |
result += dict_to_string(value, indent + 1)
|
| 300 |
elif isinstance(value, list):
|
| 301 |
result += f"{spacing}{spacing}{key}: "
|
| 302 |
-
result =
|
| 303 |
else:
|
| 304 |
result += f"{spacing}{key}:\n\n {spacing}-{value}\n\n"
|
| 305 |
|
|
|
|
| 299 |
result += dict_to_string(value, indent + 1)
|
| 300 |
elif isinstance(value, list):
|
| 301 |
result += f"{spacing}{spacing}{key}: "
|
| 302 |
+
result += ", ".join(value) + "\n\n"
|
| 303 |
else:
|
| 304 |
result += f"{spacing}{key}:\n\n {spacing}-{value}\n\n"
|
| 305 |
|