Skip to content

Commit

Permalink
fix: flag sizes should be the same in latex table
Browse files Browse the repository at this point in the history
  • Loading branch information
andre15silva committed Jan 14, 2025
1 parent 976ad36 commit d5c0fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_latex_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def generate_latex_table(data, model_list, llm_country_map):
country_code = llm_country_map.get(row['provider'], 'UN') # 'UN' for unknown

# Insert the flag using the flag-icon package
provider_with_flag = f"\\worldflag[width=0.3cm]{{{country_code}}} {row['provider']}"
provider_with_flag = f"\\worldflag[length=0.5cm, width=0.3cm]{{{country_code}}} {row['provider']}"

# Start building the LaTeX row with suffix appended
latex += f"{provider_with_flag}{suffix} & {model_name}{suffix} & "
Expand Down

0 comments on commit d5c0fd4

Please sign in to comment.