Upload folder using huggingface_hub
Browse files
app/__pycache__/dataclean_hf.cpython-310.pyc
ADDED
Binary file (5.95 kB). View file
|
|
app/dataclean_hf.py
CHANGED
@@ -128,6 +128,7 @@ def main(upload_df: pd.DataFrame,
|
|
128 |
}
|
129 |
|
130 |
# join together and get the diff
|
|
|
131 |
upload_df['key'] = get_key(upload_df)
|
132 |
upload_df=upload_df.set_index('key')
|
133 |
if output_df is None:
|
|
|
128 |
}
|
129 |
|
130 |
# join together and get the diff
|
131 |
+
upload_df = pd.read_csv(upload_df)
|
132 |
upload_df['key'] = get_key(upload_df)
|
133 |
upload_df=upload_df.set_index('key')
|
134 |
if output_df is None:
|
hf-space-upload.ipynb
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
-
"execution_count":
|
6 |
"metadata": {},
|
7 |
"outputs": [
|
8 |
{
|
@@ -11,7 +11,7 @@
|
|
11 |
"'https://huggingface.co/spaces/kaleidoscope-data/data-cleaning-llm/tree/main/'"
|
12 |
]
|
13 |
},
|
14 |
-
"execution_count":
|
15 |
"metadata": {},
|
16 |
"output_type": "execute_result"
|
17 |
}
|
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
+
"execution_count": 2,
|
6 |
"metadata": {},
|
7 |
"outputs": [
|
8 |
{
|
|
|
11 |
"'https://huggingface.co/spaces/kaleidoscope-data/data-cleaning-llm/tree/main/'"
|
12 |
]
|
13 |
},
|
14 |
+
"execution_count": 2,
|
15 |
"metadata": {},
|
16 |
"output_type": "execute_result"
|
17 |
}
|