Upload folder using huggingface_hub
Browse files- filesystem.py +2 -1
filesystem.py
CHANGED
|
@@ -7,7 +7,8 @@ def download():
|
|
| 7 |
api.hf_hub_download(
|
| 8 |
repo_type="dataset",
|
| 9 |
repo_id="xcx0902/database",
|
| 10 |
-
filename="database.db"
|
|
|
|
| 11 |
)
|
| 12 |
|
| 13 |
def upload():
|
|
|
|
| 7 |
api.hf_hub_download(
|
| 8 |
repo_type="dataset",
|
| 9 |
repo_id="xcx0902/database",
|
| 10 |
+
filename="database.db",
|
| 11 |
+
local_dir="."
|
| 12 |
)
|
| 13 |
|
| 14 |
def upload():
|