Spaces:
Runtime error
Runtime error
Update
Browse files- scheduler.py +2 -1
scheduler.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import json
|
|
|
2 |
import uuid
|
3 |
from pathlib import Path
|
4 |
from typing import Any, Dict, List, Optional, Union
|
@@ -57,7 +58,7 @@ class ParquetScheduler(CommitScheduler):
|
|
57 |
) -> None:
|
58 |
super().__init__(
|
59 |
repo_id=repo_id,
|
60 |
-
folder_path=
|
61 |
every=every,
|
62 |
path_in_repo=path_in_repo,
|
63 |
repo_type=repo_type,
|
|
|
1 |
import json
|
2 |
+
import tempfile
|
3 |
import uuid
|
4 |
from pathlib import Path
|
5 |
from typing import Any, Dict, List, Optional, Union
|
|
|
58 |
) -> None:
|
59 |
super().__init__(
|
60 |
repo_id=repo_id,
|
61 |
+
folder_path=tempfile.tempdir, # not used by the scheduler
|
62 |
every=every,
|
63 |
path_in_repo=path_in_repo,
|
64 |
repo_type=repo_type,
|