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