Omnibus commited on
Commit
8cb9661
1 Parent(s): 36b3c9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -41,7 +41,6 @@ def find_fn(inp,out_json):
41
  with gr.Blocks() as app:
42
  with gr.Row():
43
  data_set_url=gr.Textbox(label="Dataset (repo/name)")
44
-
45
  fetch_btn=gr.Button()
46
  with gr.Row():
47
  config_set=gr.Textbox(label="Config")
@@ -56,7 +55,7 @@ with gr.Blocks() as app:
56
  out_find = gr.JSON()
57
  out_gal = gr.Gallery()
58
 
59
- view_data.click(query2,[find_string,config_set,split_set],[out_find])
60
  find_btn.click(find_fn,[find_string,out_json],[out_find,out_gal])
61
  fetch_btn.click(query1,data_set_url,out_json)
62
  app.launch()
 
41
  with gr.Blocks() as app:
42
  with gr.Row():
43
  data_set_url=gr.Textbox(label="Dataset (repo/name)")
 
44
  fetch_btn=gr.Button()
45
  with gr.Row():
46
  config_set=gr.Textbox(label="Config")
 
55
  out_find = gr.JSON()
56
  out_gal = gr.Gallery()
57
 
58
+ view_data.click(query2,[data_set_url,config_set,split_set],[out_find])
59
  find_btn.click(find_fn,[find_string,out_json],[out_find,out_gal])
60
  fetch_btn.click(query1,data_set_url,out_json)
61
  app.launch()