Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,[
|
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()
|