mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 13:07:25 +00:00
Optimize imports
This commit is contained in:
parent
d2f10d50bf
commit
7bcdc10539
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user