ppsingh commited on
Commit
02d9582
1 Parent(s): 2135f3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -6,7 +6,18 @@ import os
6
  #repo = Repository(
7
  # local_dir="data", clone_from='ppsingh/annotation_data', use_auth_token=HF_TOKEN
8
  #)
9
-
 
 
 
 
 
 
 
 
 
 
 
10
  data = pd.read_csv("test.csv")
11
  for line in data:
12
  st.write(line)
 
6
  #repo = Repository(
7
  # local_dir="data", clone_from='ppsingh/annotation_data', use_auth_token=HF_TOKEN
8
  #)
9
+ from pathlib import Path
10
+
11
+ # assign directory
12
+ directory = os.getcwd()
13
+
14
+ # iterate over files in
15
+ # that directory
16
+ files = Path(directory).glob('*')
17
+ for file in files:
18
+ st.write(file)
19
+
20
+
21
  data = pd.read_csv("test.csv")
22
  for line in data:
23
  st.write(line)