Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,9 @@ directory = os.getcwd()
|
|
16 |
files = Path(directory).glob('*')
|
17 |
for file in files:
|
18 |
st.write(file)
|
19 |
-
|
20 |
-
|
|
|
21 |
data = pd.read_csv("test1.csv")
|
22 |
for line in data:
|
23 |
st.write(line)
|
@@ -28,6 +29,6 @@ if st.button('Submit'):
|
|
28 |
data = data.append(new_row, ignore_index=True)
|
29 |
st.write(data)
|
30 |
st.write(os.getcwd())
|
31 |
-
data.to_csv('
|
32 |
|
33 |
-
|
|
|
16 |
files = Path(directory).glob('*')
|
17 |
for file in files:
|
18 |
st.write(file)
|
19 |
+
|
20 |
+
auth_token = os.environ.get("TOKEN_FROM_SECRET") or True
|
21 |
+
st.write(auth_token)
|
22 |
data = pd.read_csv("test1.csv")
|
23 |
for line in data:
|
24 |
st.write(line)
|
|
|
29 |
data = data.append(new_row, ignore_index=True)
|
30 |
st.write(data)
|
31 |
st.write(os.getcwd())
|
32 |
+
data.to_csv('test.csv', index= False)
|
33 |
|
34 |
+
|