mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Remove unused imports
This commit is contained in:
parent
48dbf99e84
commit
1b4d04737a
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user