Seetha commited on
Commit
22cfca3
·
1 Parent(s): ab7b84b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -23,3 +23,9 @@ HF_TOKEN = os.environ.get("HF_TOKEN")
23
  st.write("is none?", HF_TOKEN is None)
24
  HfApi().delete_file(path_in_repo = DATA_FILENAME ,repo_id = 'Seetha/visual_cs',token= HF_TOKEN,repo_type='dataset')
25
  st.write('file-deleted')
 
 
 
 
 
 
 
23
  st.write("is none?", HF_TOKEN is None)
24
  HfApi().delete_file(path_in_repo = DATA_FILENAME ,repo_id = 'Seetha/visual_cs',token= HF_TOKEN,repo_type='dataset')
25
  st.write('file-deleted')
26
+
27
+ st.write('Read the CSV file')
28
+ data_stakeholdercount = pd.read_csv('final_data.csv')
29
+ st.write(data_stakeholdercount)
30
+
31
+ data_stakeholdercount.push_to_hub('Seetha/visual_cs')