firagne commited on
Commit
3ab480e
1 Parent(s): 2bdd55e
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -149,8 +149,9 @@ with gr.Blocks() as demo:
149
  )
150
 
151
  def update_select(json_results):
 
152
  select_results = gr.Dropdown(
153
- choices=[k.values() for k in json_results]
154
  )
155
  return select_results
156
 
 
149
  )
150
 
151
  def update_select(json_results):
152
+ print(json_results)
153
  select_results = gr.Dropdown(
154
+ choices=[(k["f"], k["t"]) for k in json_results]
155
  )
156
  return select_results
157