Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,11 @@
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
data = pd.read_csv("test.csv")
|
5 |
for line in data:
|
@@ -12,4 +18,4 @@ if st.button('Submit'):
|
|
12 |
st.write(data)
|
13 |
data.to_csv('./test.csv', index= False)
|
14 |
|
15 |
-
|
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
+
import Repository
|
4 |
+
import os
|
5 |
+
#HF_TOKEN = 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
|
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:
|
|
|
18 |
st.write(data)
|
19 |
data.to_csv('./test.csv', index= False)
|
20 |
|
21 |
+
st.write(os.environ.get("HF_TOKEN"))
|