Spaces:
Runtime error
Runtime error
missing commit
Browse files
stablediffusion-infinity/app.py
CHANGED
|
@@ -45,6 +45,8 @@ if not DB_PATH.exists():
|
|
| 45 |
db = sqlite3.connect(DB_PATH)
|
| 46 |
with open(Path("schema.sql"), "r") as f:
|
| 47 |
db.executescript(f.read())
|
|
|
|
|
|
|
| 48 |
|
| 49 |
|
| 50 |
def get_db():
|
|
|
|
| 45 |
db = sqlite3.connect(DB_PATH)
|
| 46 |
with open(Path("schema.sql"), "r") as f:
|
| 47 |
db.executescript(f.read())
|
| 48 |
+
db.commit()
|
| 49 |
+
db.close()
|
| 50 |
|
| 51 |
|
| 52 |
def get_db():
|