Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -525,7 +525,11 @@ def main():
|
|
525 |
'target': col,
|
526 |
'value': int(df_tab.loc[row, col])
|
527 |
})
|
|
|
|
|
528 |
|
|
|
|
|
529 |
# Write JSON to file
|
530 |
with open(DATA_FILE, 'w') as f: #w+
|
531 |
json.dump(json_data, f)
|
|
|
525 |
'target': col,
|
526 |
'value': int(df_tab.loc[row, col])
|
527 |
})
|
528 |
+
base_url = "https://huggingface.co/datasets/Seetha/visual_files/tree/main"
|
529 |
+
dataset = load_dataset(base_url, data_files='https://huggingface.co/datasets/Seetha/visual_files/blob/main/level2.json')
|
530 |
|
531 |
+
st.write(dataset)
|
532 |
+
|
533 |
# Write JSON to file
|
534 |
with open(DATA_FILE, 'w') as f: #w+
|
535 |
json.dump(json_data, f)
|