mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix for txt2img2img.py (#2856)
Fix error when using txt2img ModuleNotFoundError: No module named 'invokeai.backend.models' and ModuleNotFoundError: No module named 'invokeai.backend.generator.diffusers_pipeline'
This commit is contained in:
commit
86e2cb0428
@ -8,14 +8,11 @@ from typing import Callable, Optional
|
||||
import torch
|
||||
from diffusers.utils.logging import get_verbosity, set_verbosity, set_verbosity_error
|
||||
|
||||
from ..models import PostprocessingSettings
|
||||
from ..stable_diffusion import PostprocessingSettings
|
||||
from .base import Generator
|
||||
from .diffusers_pipeline import (
|
||||
ConditioningData,
|
||||
StableDiffusionGeneratorPipeline,
|
||||
trim_to_multiple_of,
|
||||
)
|
||||
|
||||
from ..stable_diffusion.diffusers_pipeline import StableDiffusionGeneratorPipeline
|
||||
from ..stable_diffusion.diffusers_pipeline import ConditioningData
|
||||
from ..stable_diffusion.diffusers_pipeline import trim_to_multiple_of
|
||||
|
||||
class Txt2Img2Img(Generator):
|
||||
def __init__(self, model, precision):
|
||||
|
Loading…
Reference in New Issue
Block a user