Skip to content

Commit 488d486

Browse files
committed
rm options
1 parent d915c2c commit 488d486

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

view.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ def __init__(self, name, db, config, server):
1414
self.app = dash.Dash(name, external_stylesheets=external_stylesheets, server=server)
1515
self.db = db
1616
self.current_idx = 0
17-
self.username = str(uuid.uuid4())
1817
self.appconfig = config
1918
self.pick_keypoint_subset()
2019
self.make_figure_image(self.current_idx)
@@ -84,7 +83,7 @@ def make_layout(self):
8483
dcc.Input(
8584
id="input_name",
8685
type='text',
87-
placeholder=self.username,
86+
placeholder=str(uuid.uuid4()),
8887
),
8988
html.Button('Previous', id='previous'),
9089
html.Button('Next', id='next'),
@@ -122,7 +121,8 @@ def make_layout(self):
122121
)
123122

124123
def pick_keypoint_subset(self):
125-
self.subset = random.sample(range(len(self.appconfig.options)), self.appconfig.n2show)
124+
self.subset = list(range(len(self.appconfig.options)))
125+
#random.sample(range(len(self.appconfig.options)), self.appconfig.n2show)
126126

127127
def refresh_radio_buttons(self):
128128
self.pick_keypoint_subset()

0 commit comments

Comments
 (0)