Skip to content

Commit 54556ae

Browse files
committed
Fix injection of data into the HTML output
Signed-off-by: Jared O'Connell <[email protected]>
1 parent 9c401da commit 54556ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guidellm/benchmark/output.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,9 +724,9 @@ async def finalize(self, report: GenerativeBenchmarksReport) -> Path:
724724

725725
ui_api_data = {}
726726
for key, value in camel_data.items():
727-
placeholder_key = f"window.{humps.decamelize(key)} = {{}};"
727+
placeholder_key = f"window.{key} = {{}};"
728728
replacement_value = (
729-
f"window.{humps.decamelize(key)} = {json.dumps(value, indent=2)};\n"
729+
f"window.{key} = {json.dumps(value, indent=2)};\n"
730730
)
731731
ui_api_data[placeholder_key] = replacement_value
732732

0 commit comments

Comments
 (0)