mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
fix display bug in webapp (#440)
This commit is contained in:
@@ -518,6 +518,11 @@ def research_window():
|
||||
# loaded model exp
|
||||
with c2:
|
||||
if mem := state.msgs[round]["d.load_experiment"]:
|
||||
# 'load_experiment' should in 'r' now, but old version trace may in 'd', so we need to check both
|
||||
# TODO: modify the way to get one message with a specific tag like 'load_experiment' in the future
|
||||
me: QlibModelExperiment = mem[0].content
|
||||
tasks_window(me.sub_tasks)
|
||||
elif mem := state.msgs[round]["r.load_experiment"]:
|
||||
me: QlibModelExperiment = mem[0].content
|
||||
tasks_window(me.sub_tasks)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user