This commit is contained in:
Mary Hipp 2024-08-08 14:21:37 -04:00
parent 42d68780de
commit 581029ebaa
5 changed files with 4 additions and 12 deletions

View File

@ -31,7 +31,6 @@ from invokeai.app.services.session_processor.session_processor_default import (
)
from invokeai.app.services.session_queue.session_queue_sqlite import SqliteSessionQueue
from invokeai.app.services.shared.sqlite.sqlite_util import init_db
from invokeai.app.services.style_preset_images.style_preset_images_base import StylePresetImageFileStorageBase
from invokeai.app.services.style_preset_images.style_preset_images_default import StylePresetImageFileStorageDisk
from invokeai.app.services.style_preset_records.style_preset_records_sqlite import SqliteStylePresetRecordsStorage
from invokeai.app.services.urls.urls_default import LocalUrlService

View File

@ -2,7 +2,7 @@ import io
import traceback
from typing import Optional
from fastapi import APIRouter, Body, File, Form, HTTPException, Path, UploadFile
from fastapi import APIRouter, File, Form, HTTPException, Path, UploadFile
from fastapi.responses import FileResponse
from PIL import Image

View File

@ -30,9 +30,9 @@ from invokeai.app.api.routers import (
images,
model_manager,
session_queue,
style_presets,
utilities,
workflows,
style_presets,
)
from invokeai.app.api.sockets import SocketIO
from invokeai.app.services.config.config_default import get_config

View File

@ -1,9 +1,6 @@
from enum import Enum
from typing import Any, Optional, Union
from typing import Any, Optional
from pydantic import BaseModel, ConfigDict, Field, JsonValue, TypeAdapter, field_validator
from invokeai.app.util.metaenum import MetaEnum
from pydantic import BaseModel, Field, TypeAdapter
class StylePresetNotFoundError(Exception):

View File

@ -1,9 +1,5 @@
from pathlib import Path
from typing import Optional
from invokeai.app.services.invoker import Invoker
from invokeai.app.services.shared.pagination import PaginatedResults
from invokeai.app.services.shared.sqlite.sqlite_common import SQLiteDirection
from invokeai.app.services.shared.sqlite.sqlite_database import SqliteDatabase
from invokeai.app.services.style_preset_records.style_preset_records_base import StylePresetRecordsStorageBase
from invokeai.app.services.style_preset_records.style_preset_records_common import (