Update app.py
Browse files
app.py
CHANGED
|
@@ -182,15 +182,9 @@ app_ui = ui.page_fluid(
|
|
| 182 |
ui.input_select(
|
| 183 |
"question_selector",
|
| 184 |
label="Select a Question:",
|
| 185 |
-
choices=
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
"Where are trips into Napa County coming from?",
|
| 189 |
-
"Where are trips starting and ending within Napa County?",
|
| 190 |
-
],
|
| 191 |
-
selected="What types of trips are occurring within Napa County?", # Preselect the first question
|
| 192 |
-
width="100%",
|
| 193 |
-
),
|
| 194 |
# Output table for the selected sheet
|
| 195 |
ui.output_table("trip_table"),
|
| 196 |
),
|
|
|
|
| 182 |
ui.input_select(
|
| 183 |
"question_selector",
|
| 184 |
label="Select a Question:",
|
| 185 |
+
choices=list(QUESTION_TO_SHEET.keys()),
|
| 186 |
+
selected="What types of trips are occurring within Napa County?", # Preselect a valid question
|
| 187 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
# Output table for the selected sheet
|
| 189 |
ui.output_table("trip_table"),
|
| 190 |
),
|