Chris4K commited on
Commit
a593535
·
verified ·
1 Parent(s): 8e2767b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -104,7 +104,8 @@ def handle_submission():
104
 
105
  #selected_tools = []
106
  #selected_tools = [tool for idx, tool in enumerate(tools) if tool_checkboxes[idx]]
107
- selected_tools = [tool for idx, checkbox in enumerate(tool_checkboxes) if checkbox]
 
108
 
109
  print(selected_tools)
110
 
 
104
 
105
  #selected_tools = []
106
  #selected_tools = [tool for idx, tool in enumerate(tools) if tool_checkboxes[idx]]
107
+ selected_tools = [tools[idx] for idx, checkbox in enumerate(tool_checkboxes) if checkbox]
108
+ #selected_tools = [tool for idx, checkbox in enumerate(tool_checkboxes) if checkbox]
109
 
110
  print(selected_tools)
111