imports cleanup for ruff

This commit is contained in:
AUTOMATIC
2023-05-10 08:43:42 +03:00
parent 96d6ca4199
commit f741a98bac
48 changed files with 42 additions and 114 deletions

View File

@@ -1,15 +1,11 @@
import base64
import html
import io
import math
import os
import re
from pathlib import Path
import gradio as gr
from modules.paths import data_path
from modules import shared, ui_tempdir, script_callbacks
import tempfile
from PIL import Image
re_param_code = r'\s*([\w ]+):\s*("(?:\\"[^,]|\\"|\\|[^\"])+"|[^,]*)(?:,|$)'