Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -86,11 +86,8 @@ def save_json_to_dataset(json_str):
|
|
| 86 |
dataset_file = "dataset.json"
|
| 87 |
local_dir = "hf_repo"
|
| 88 |
|
| 89 |
-
repo = Repository(
|
| 90 |
-
|
| 91 |
-
clone_from=f"datasets/{repo_id}",
|
| 92 |
-
use_auth_token=hf_token
|
| 93 |
-
)
|
| 94 |
repo.git_pull()
|
| 95 |
|
| 96 |
full_path = os.path.join(local_dir, dataset_file)
|
|
|
|
| 86 |
dataset_file = "dataset.json"
|
| 87 |
local_dir = "hf_repo"
|
| 88 |
|
| 89 |
+
repo = Repository(local_dir=local_dir, clone_from="datasets/oceddyyy/University_Inquiries_AI_Chatbot", use_auth_token=hf_token)
|
| 90 |
+
|
|
|
|
|
|
|
|
|
|
| 91 |
repo.git_pull()
|
| 92 |
|
| 93 |
full_path = os.path.join(local_dir, dataset_file)
|