Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def format_size(num: int) -> str:
|
|
18 |
def format_output(memory_mapping):
|
19 |
markdown_str = ""
|
20 |
if memory_mapping:
|
21 |
-
for component, memory in memory_mapping:
|
22 |
markdown_str += f"* {component}: {format_size(memory)}\n"
|
23 |
return markdown_str
|
24 |
|
|
|
18 |
def format_output(memory_mapping):
|
19 |
markdown_str = ""
|
20 |
if memory_mapping:
|
21 |
+
for component, memory in memory_mapping.items():
|
22 |
markdown_str += f"* {component}: {format_size(memory)}\n"
|
23 |
return markdown_str
|
24 |
|