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 re
import requests import requests
import base64
from fastapi import ( from fastapi import (
FastAPI, FastAPI,
Request, Request,
Depends, Depends,
HTTPException, HTTPException,
status,
UploadFile,
File,
Form,
) )
from fastapi.middleware.cors import CORSMiddleware 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 apps.images.utils.comfyui import ImageGenerationPayload, comfyui_generate_image
from utils.misc import calculate_sha256
from typing import Optional from typing import Optional
from pydantic import BaseModel from pydantic import BaseModel
from pathlib import Path from pathlib import Path