Spaces:
Build error
Build error
Create create_db.py
Browse files- src/create_db.py +5 -0
src/create_db.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from src.database import initialize_database
|
| 2 |
+
|
| 3 |
+
if __name__ == "__main__":
|
| 4 |
+
initialize_database(clear_data=True)
|
| 5 |
+
print("Database created/reset successfully!")
|