Remove unused import

This commit is contained in:
psychedelicious 2023-05-12 13:56:02 +10:00 committed by GitHub
parent 8c1c9cd702
commit ebec200ba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,6 @@ from typing import Literal
from pydantic import BaseModel, Field
import numpy as np
from invokeai.app.util.misc import get_random_seed
from .baseinvocation import BaseInvocation, BaseInvocationOutput, InvocationContext, InvocationConfig
@ -84,4 +82,4 @@ class RandomIntInvocation(BaseInvocation):
type: Literal["rand_int"] = "rand_int"
#fmt: on
def invoke(self, context: InvocationContext) -> IntOutput:
return IntOutput(a=np.random.randint(0, np.iinfo(np.int32).max))
return IntOutput(a=np.random.randint(0, np.iinfo(np.int32).max))