diff --git a/backend/apps/images/main.py b/backend/apps/images/main.py index ad7d1a234..401bf5562 100644 --- a/backend/apps/images/main.py +++ b/backend/apps/images/main.py @@ -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