Update app.py
Browse files
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 = [
|
|
|
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 |
|