Spaces:
Sleeping
Sleeping
Commit
·
6a612eb
1
Parent(s):
4180588
fix space id
Browse files- src/database.py +1 -1
src/database.py
CHANGED
|
@@ -153,7 +153,7 @@ class DB:
|
|
| 153 |
subprocess.run(['git', 'add', db_rel], check=True, cwd=repo_root)
|
| 154 |
api = HfApi(token=os.getenv('HF_TOKEN', None))
|
| 155 |
api.create_commit(
|
| 156 |
-
repo_id=
|
| 157 |
repo_type='space',
|
| 158 |
operations=[CommitOperationAdd(path_in_repo=db_rel, path_or_fileobj=self.db_path)],
|
| 159 |
commit_message=f'update db {ts}',
|
|
|
|
| 153 |
subprocess.run(['git', 'add', db_rel], check=True, cwd=repo_root)
|
| 154 |
api = HfApi(token=os.getenv('HF_TOKEN', None))
|
| 155 |
api.create_commit(
|
| 156 |
+
repo_id='JaneDing2025/IconEval',
|
| 157 |
repo_type='space',
|
| 158 |
operations=[CommitOperationAdd(path_in_repo=db_rel, path_or_fileobj=self.db_path)],
|
| 159 |
commit_message=f'update db {ts}',
|