Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -484,7 +484,7 @@ def main():
|
|
484 |
HfApi().delete_file(path_in_repo = DATA_FILENAME ,repo_id = 'Seetha/Visualization',token= HF_TOKEN,repo_type='dataset')
|
485 |
st.write('file-deleted')
|
486 |
fs = HfFileSystem(token=HF_TOKEN)
|
487 |
-
with fs.open('datasets/Seetha/Visualization.json', 'w') as f:
|
488 |
json.dump(json_data, f)
|
489 |
# dat = json.dumps(json_data)
|
490 |
# level2_df = pd.read_json(dat)
|
|
|
484 |
HfApi().delete_file(path_in_repo = DATA_FILENAME ,repo_id = 'Seetha/Visualization',token= HF_TOKEN,repo_type='dataset')
|
485 |
st.write('file-deleted')
|
486 |
fs = HfFileSystem(token=HF_TOKEN)
|
487 |
+
with fs.open('datasets/Seetha/Visualization/level2.json', 'w') as f:
|
488 |
json.dump(json_data, f)
|
489 |
# dat = json.dumps(json_data)
|
490 |
# level2_df = pd.read_json(dat)
|