Spaces:
Sleeping
Sleeping
Download scripts/create_tables.py from Diaure/Futurisys_API_ML: direct link, hf CLI and curl.
- Browser
- Download file 205 Bytes
-
https://huggingface.co/spaces/Diaure/Futurisys_API_ML/resolve/main/scripts/create_tables.py
- Command line
-
hf download hf://spaces/Diaure/Futurisys_API_ML/scripts/create_tables.py
-
curl -L -o create_tables.py https://huggingface.co/spaces/Diaure/Futurisys_API_ML/resolve/main/scripts/create_tables.py
205 Bytes
| from App.database import engine, Base | |
| if engine is None: | |
| print("DB désactivée : aucune table créée.") | |
| else: | |
| Base.metadata.create_all(bind=engine) | |
| print("Tables créées avec succès") | |