Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
import pandas as pd
|
3 |
from huggingface_hub 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 |
#)
|
@@ -16,6 +16,7 @@ if st.button('Submit'):
|
|
16 |
new_row = {'Sentences': title}
|
17 |
data = data.append(new_row, ignore_index=True)
|
18 |
st.write(data)
|
|
|
19 |
data.to_csv('./test.csv', index= False)
|
20 |
|
21 |
st.write(os.environ.get("HF_TOKEN"))
|
|
|
2 |
import pandas as pd
|
3 |
from huggingface_hub 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 |
#)
|
|
|
16 |
new_row = {'Sentences': title}
|
17 |
data = data.append(new_row, ignore_index=True)
|
18 |
st.write(data)
|
19 |
+
st.write(os.getcwd())
|
20 |
data.to_csv('./test.csv', index= False)
|
21 |
|
22 |
st.write(os.environ.get("HF_TOKEN"))
|