broadfield-dev commited on
Commit
d6c9e2a
·
verified ·
1 Parent(s): 7191e6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -204,7 +204,7 @@ with gr.Blocks(theme=theme, title="KeyLock Operations Dashboard") as demo:
204
  outputs=[creator_service_dropdown, creator_status]
205
  ).then(
206
  lambda data: data, # Pass the full data to the state
207
- _js="(data) => data.choices",
208
  outputs=[endpoints_state]
209
  )
210
  refresh_button.click(
@@ -213,7 +213,7 @@ with gr.Blocks(theme=theme, title="KeyLock Operations Dashboard") as demo:
213
  outputs=[creator_service_dropdown, creator_status]
214
  ).then(
215
  lambda data: data,
216
- _js="(data) => data.choices",
217
  outputs=[endpoints_state]
218
  )
219
 
 
204
  outputs=[creator_service_dropdown, creator_status]
205
  ).then(
206
  lambda data: data, # Pass the full data to the state
207
+ js="(data) => data.choices",
208
  outputs=[endpoints_state]
209
  )
210
  refresh_button.click(
 
213
  outputs=[creator_service_dropdown, creator_status]
214
  ).then(
215
  lambda data: data,
216
+ js="(data) => data.choices",
217
  outputs=[endpoints_state]
218
  )
219