rosemariafontana commited on
Commit
dadbe53
·
verified ·
1 Parent(s): bd5e916

Update script_for_automation.py

Browse files
Files changed (1) hide show
  1. script_for_automation.py +3 -4
script_for_automation.py CHANGED
@@ -390,10 +390,9 @@ def generate_markdown_output(df):
390
  differences = row['Differences']
391
 
392
  # Loop through the differences list
393
- for diff in differences:
394
- for key, value in diff.items():
395
- markdown += f"#### {key.capitalize()}\n"
396
- markdown += f"{value}\n"
397
 
398
  # 4. Prompts
399
  markdown += "\n## Prompts\n"
 
390
  differences = row['Differences']
391
 
392
  # Loop through the differences list
393
+ for key, value in differences.items():
394
+ markdown += f"#### {key.capitalize()}\n"
395
+ markdown += f"{value}\n"
 
396
 
397
  # 4. Prompts
398
  markdown += "\n## Prompts\n"