Download db/createTable.py from supff/sau: direct link, hf CLI and curl.
- Browser
- Download file 204 Bytes
-
https://huggingface.co/spaces/supff/sau/resolve/main/db/createTable.py
- Command line
-
hf download hf://spaces/supff/sau/db/createTable.py
-
curl -L -o createTable.py https://huggingface.co/spaces/supff/sau/resolve/main/db/createTable.py
204 Bytes
| from conf import BASE_DIR | |
| from db.init_db import ensure_database | |
| def main(): | |
| db_path = ensure_database(BASE_DIR) | |
| print(f"✅ 表创建成功: {db_path}") | |
| if __name__ == '__main__': | |
| main() | |