Omnibus commited on
Commit
120956a
1 Parent(s): 4a61368

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def query1(fetch_url):
26
  config_box.append(obj['config'])
27
  split_box.append(obj['split'])
28
  #df = pd.DataFrame.from_dict(json_obj)
29
- return json_obj,gr.update(choices=[c for c in config_box],gr.update(choices=[s for s in split_box]))
30
 
31
 
32
  def query2(fetch_url,config="TEST",split="test",offset=0,length=10):
 
26
  config_box.append(obj['config'])
27
  split_box.append(obj['split'])
28
  #df = pd.DataFrame.from_dict(json_obj)
29
+ return json_obj,gr.update(choices=[c for c in config_box]),gr.update(choices=[s for s in split_box])
30
 
31
 
32
  def query2(fetch_url,config="TEST",split="test",offset=0,length=10):