Revert "fix jittering in markdown in viewer beta"

This reverts commit 70ade42e46.
This commit is contained in:
Justin Kerr committed 2023-10-10 17:12:21 -07:00
1 parent 70ade42e46
commit 622342cdce
1 file changed
+2 -1
+2 -1
View File
@@ -270,9 +270,10 @@ class ControlPanel:
step: the train step to set the model to step: the train step to set the model to
""" """
with self.viser_server.atomic(), self.stat_folder: 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(): with self.viser_server.atomic():
self.markdown.remove() self.markdown.remove()
self.markdown.content = f"Step: {step}" self.markdown = self.viser_server.add_gui_markdown(f"Step: {step}")
def update_output_options(self, new_options: List[str]): def update_output_options(self, new_options: List[str]):
""" """