database
Browse files- App/Generate/database/Model.py +1 -1
- requirements.txt +1 -2
App/Generate/database/Model.py
CHANGED
|
@@ -8,7 +8,7 @@ from .Vercel import AsyncImageGenerator
|
|
| 8 |
import aiohttp
|
| 9 |
from typing import List
|
| 10 |
|
| 11 |
-
database_url = "sqlite:///ok.db"
|
| 12 |
database = databases.Database(database_url)
|
| 13 |
models = orm.ModelRegistry(database=database)
|
| 14 |
|
|
|
|
| 8 |
import aiohttp
|
| 9 |
from typing import List
|
| 10 |
|
| 11 |
+
database_url = "sqlite+aiosqlite:///ok.db"
|
| 12 |
database = databases.Database(database_url)
|
| 13 |
models = orm.ModelRegistry(database=database)
|
| 14 |
|
requirements.txt
CHANGED
|
@@ -23,6 +23,5 @@ aiohttp
|
|
| 23 |
instructor
|
| 24 |
groq
|
| 25 |
python-multipart
|
| 26 |
-
orm
|
| 27 |
-
aiosqlite
|
| 28 |
pydub
|
|
|
|
| 23 |
instructor
|
| 24 |
groq
|
| 25 |
python-multipart
|
| 26 |
+
orm[sqlite]
|
|
|
|
| 27 |
pydub
|