Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
supff
/
sau
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
sau
/
db
/
createTable.py
skatef
fix: 自动初始化 HF 数据库表
acf6310
22 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
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()