mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Graph is required in batch create
This commit is contained in:
parent
faa4574970
commit
6cb90e01de
@ -47,7 +47,7 @@ async def create_session(
|
||||
},
|
||||
)
|
||||
async def create_batch(
|
||||
graph: Optional[Graph] = Body(default=None, description="The graph to initialize the session with"),
|
||||
graph: Optional[Graph] = Body(description="The graph to initialize the session with"),
|
||||
batches: list[Batch] = Body(description="Batch config to apply to the given graph"),
|
||||
) -> BatchProcessResponse:
|
||||
"""Creates and starts a new new batch process"""
|
||||
|
@ -29,7 +29,6 @@ class SqliteItemStorage(ItemStorageABC, Generic[T]):
|
||||
self._conn = sqlite3.connect(
|
||||
self._filename, check_same_thread=False
|
||||
) # TODO: figure out a better threading solution
|
||||
# self._conn.execute("pragma journal_mode=wal")
|
||||
self._cursor = self._conn.cursor()
|
||||
|
||||
self._create_table()
|
||||
|
Loading…
x
Reference in New Issue
Block a user