Fix jitter viewer (#2505)

This commit is contained in:
Justin Kerr authored and GitHub committed 2023-10-10 17:49:52 -07:00
1 parent dba20fcb26
commit 8e2a0651d0
2 files changed
+2 -6

No files matched your search

+1 -5
View File
@@ -269,11 +269,7 @@ class ControlPanel:
Args:
step: the train step to set the model to
"""
with self.viser_server.atomic(), self.stat_folder:
# TODO change to a .value call instead of remove() and add, this makes it jittery
with self.viser_server.atomic():
self.markdown.remove()
self.markdown = self.viser_server.add_gui_markdown(f"Step: {step}")
self.markdown.content = f"Step: {step}"
def update_output_options(self, new_options: List[str]):
"""