Seetha commited on
Commit
d10eea6
·
1 Parent(s): ae02ad4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -5,6 +5,8 @@ from huggingface_hub import HfApi, list_models
5
  import os
6
  import datasets
7
  from datasets import Dataset, DatasetDict
 
 
8
 
9
  # from datasets import Dataset
10
  # Dataset.cleanup_cache_files
@@ -37,3 +39,4 @@ ds['train'] = tds
37
 
38
  st.write(ds)
39
  ds.push_to_hub('Seetha/visual_cs',token= HF_TOKEN)
 
 
5
  import os
6
  import datasets
7
  from datasets import Dataset, DatasetDict
8
+ from huggingface_hub import HfFileSystem
9
+ fs = HfFileSystem()
10
 
11
  # from datasets import Dataset
12
  # Dataset.cleanup_cache_files
 
39
 
40
  st.write(ds)
41
  ds.push_to_hub('Seetha/visual_cs',token= HF_TOKEN)
42
+ df.to_csv("hf://datasets/Seetha/visual_cs/test.csv")