Spaces:
Running
on
Zero
Running
on
Zero
abrakjamson
commited on
Commit
·
67730e9
1
Parent(s):
61f59d2
fixing preset buttons
Browse files
app.py
CHANGED
@@ -234,8 +234,9 @@ def reset_chat():
|
|
234 |
def get_checkboxes():
|
235 |
# rebuilding the list of checkboxes, so that these presets don't have to change
|
236 |
# when adding a new control model
|
237 |
-
# tab, vectors section, checkbox list, checkboxes
|
238 |
-
checkbox_column = app.children[0].children[2].children[0].children
|
|
|
239 |
model_names_and_indexes = {}
|
240 |
checkbox_index = 0
|
241 |
for i in range(len(checkbox_column)):
|
|
|
234 |
def get_checkboxes():
|
235 |
# rebuilding the list of checkboxes, so that these presets don't have to change
|
236 |
# when adding a new control model
|
237 |
+
# app, tab, vectors section, checkbox list, checkboxes
|
238 |
+
#checkbox_column = app.children[0].children[2].children[0].children
|
239 |
+
checkbox_column = app.children[0].children[0].children[2].children[0].children
|
240 |
model_names_and_indexes = {}
|
241 |
checkbox_index = 0
|
242 |
for i in range(len(checkbox_column)):
|