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