"src/diffusers/pipelines/lumina/pipeline_lumina.py" did not exist on "b934215d4c376ea2e08e28103443686b95ea772c"
Commit 60dd33c8 authored by lintangsutawika's avatar lintangsutawika
Browse files

new way to display tasks

parent f5bdefe8
...@@ -570,7 +570,7 @@ def evaluate( ...@@ -570,7 +570,7 @@ def evaluate(
task_results = results_agg[task] task_results = results_agg[task]
if "tab" in task_results: if "tab" in task_results:
tab = task_results.pop("tab") tab = task_results.pop("tab")
tab_string = " "*(tab-1)+"-" if tab > 0 else "" tab_string = " "*tab+"-" if tab > 0 else ""
if task in task_group_alias: if task in task_group_alias:
task_alias = task_group_alias[task] task_alias = task_group_alias[task]
...@@ -587,7 +587,7 @@ def evaluate( ...@@ -587,7 +587,7 @@ def evaluate(
group_results = groups_agg[group] group_results = groups_agg[group]
if "tab" in group_results: if "tab" in group_results:
tab = group_results.pop("tab") tab = group_results.pop("tab")
tab_string = " "*(tab-1)+"-" if tab > 0 else "" tab_string = " "*tab+"-" if tab > 0 else ""
if group in task_group_alias: if group in task_group_alias:
group_alias = task_group_alias[group] group_alias = task_group_alias[group]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment