Remove unused imports

This commit is contained in:
Bruno Seoane 2022-10-22 20:13:16 -03:00
parent 48dbf99e84
commit 1b4d04737a

View File

@ -1,11 +1,9 @@
from modules.api.processing import StableDiffusionProcessingAPI from modules.api.processing import StableDiffusionProcessingAPI
from modules.processing import StableDiffusionProcessingTxt2Img, process_images from modules.processing import StableDiffusionProcessingTxt2Img, process_images
from modules.sd_samplers import all_samplers from modules.sd_samplers import all_samplers
from modules.extras import run_pnginfo
import modules.shared as shared import modules.shared as shared
import uvicorn import uvicorn
from fastapi import Body, APIRouter, HTTPException from fastapi import APIRouter, HTTPException
from fastapi.responses import JSONResponse
from pydantic import BaseModel, Field, Json from pydantic import BaseModel, Field, Json
import json import json
import io import io
@ -18,7 +16,6 @@ class TextToImageResponse(BaseModel):
parameters: Json parameters: Json
info: Json info: Json
class Api: class Api:
def __init__(self, app, queue_lock): def __init__(self, app, queue_lock):
self.router = APIRouter() self.router = APIRouter()