mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
correct typos in model_manager_service
This commit is contained in:
parent
72967bf118
commit
5e8e3cf464
@ -3,7 +3,7 @@
|
||||
|
||||
from abc import ABC, abstractmethod
|
||||
from pathlib import Path
|
||||
from typing import Union, Callable, types
|
||||
from typing import Union, Callable, List, Tuple, types
|
||||
from dataclasses import dataclass
|
||||
|
||||
from invokeai.backend.model_management.model_manager import (
|
||||
@ -67,7 +67,7 @@ class ModelManagerServiceBase(ABC):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def default_model(self) -> Union[Tuple(str, SDModelType),None],
|
||||
def default_model(self) -> Union[Tuple(str, SDModelType),None]:
|
||||
"""
|
||||
Returns the name and typeof the default model, or None
|
||||
if none is defined.
|
||||
@ -352,7 +352,7 @@ class ModelManagerService(ModelManagerServiceBase):
|
||||
model_name,
|
||||
model_type)
|
||||
|
||||
def default_model(self) -> Union[Tuple(str, SDModelType),None],
|
||||
def default_model(self) -> Union[Tuple(str, SDModelType),None]:
|
||||
"""
|
||||
Returns the name of the default model, or None
|
||||
if none is defined.
|
||||
|
Loading…
x
Reference in New Issue
Block a user