Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,12 +17,12 @@ def query1(fetch_url):
|
|
17 |
|
18 |
drop_box = []
|
19 |
for obj in json_obj:
|
20 |
-
out_config = obj[
|
21 |
-
out_split = obj[
|
22 |
print (obj)
|
23 |
print (out_config)
|
24 |
print (out_split)
|
25 |
-
drop_box.append(obj[
|
26 |
#df = pd.DataFrame.from_dict(json_obj)
|
27 |
return gr.update(choices=[d for d in drop_box])
|
28 |
|
|
|
17 |
|
18 |
drop_box = []
|
19 |
for obj in json_obj:
|
20 |
+
out_config = obj[0][0]
|
21 |
+
out_split = obj[0][1]
|
22 |
print (obj)
|
23 |
print (out_config)
|
24 |
print (out_split)
|
25 |
+
drop_box.append(obj[0])
|
26 |
#df = pd.DataFrame.from_dict(json_obj)
|
27 |
return gr.update(choices=[d for d in drop_box])
|
28 |
|