smomtaz commited on
Commit
2f3eb8e
·
verified ·
1 Parent(s): c81d5b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -9
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
- "What types of trips are occurring within Napa County?",
187
- "What types of inter-county trips are occurring at Napa County gateways?",
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
  ),