Spaces:
Build error
Build error
ian
commited on
Commit
·
43dc4e1
1
Parent(s):
476a48c
update
Browse files- flowsettings.py +1 -5
flowsettings.py
CHANGED
@@ -1,12 +1,9 @@
|
|
1 |
from pathlib import Path
|
2 |
|
3 |
from decouple import config
|
4 |
-
from platformdirs import user_cache_dir
|
5 |
from theflow.settings.default import * # noqa
|
6 |
|
7 |
-
user_cache_dir = Path(
|
8 |
-
user_cache_dir(str(config("KH_APP_NAME", default="ktem")), "Cinnamon")
|
9 |
-
)
|
10 |
user_cache_dir.mkdir(parents=True, exist_ok=True)
|
11 |
|
12 |
|
@@ -164,7 +161,6 @@ SETTINGS_REASONING = {
|
|
164 |
KH_INDEX_TYPES = ["ktem.index.file.FileIndex"]
|
165 |
KH_INDICES = [
|
166 |
{
|
167 |
-
"id": 1,
|
168 |
"name": "File",
|
169 |
"config": {},
|
170 |
"index_type": "ktem.index.file.FileIndex",
|
|
|
1 |
from pathlib import Path
|
2 |
|
3 |
from decouple import config
|
|
|
4 |
from theflow.settings.default import * # noqa
|
5 |
|
6 |
+
user_cache_dir = Path("./cache")
|
|
|
|
|
7 |
user_cache_dir.mkdir(parents=True, exist_ok=True)
|
8 |
|
9 |
|
|
|
161 |
KH_INDEX_TYPES = ["ktem.index.file.FileIndex"]
|
162 |
KH_INDICES = [
|
163 |
{
|
|
|
164 |
"name": "File",
|
165 |
"config": {},
|
166 |
"index_type": "ktem.index.file.FileIndex",
|