Optimize imports

This commit is contained in:
Craig Quiter 2024-08-18 14:17:31 -07:00
parent d2f10d50bf
commit 7bcdc10539

View File

@ -1,15 +1,10 @@
import re
import requests
import base64
from fastapi import (
FastAPI,
Request,
Depends,
HTTPException,
status,
UploadFile,
File,
Form,
)
from fastapi.middleware.cors import CORSMiddleware
@ -20,7 +15,6 @@ from utils.utils import (
)
from apps.images.utils.comfyui import ImageGenerationPayload, comfyui_generate_image
from utils.misc import calculate_sha256
from typing import Optional
from pydantic import BaseModel
from pathlib import Path