未验证 提交 79c682ad 编写于 作者: V Vladimir Mandic 提交者: GitHub

fix jpeg

上级 1cfd8aec
......@@ -19,8 +19,6 @@ from modules.shared import opts
import modules.gfpgan_model
from modules.ui import plaintext_to_html
import modules.codeformer_model
import piexif
import piexif.helper
import gradio as gr
import safetensors.torch
......
......@@ -22,6 +22,8 @@ from modules.shared import opts, cmd_opts
LANCZOS = (Image.Resampling.LANCZOS if hasattr(Image, 'Resampling') else Image.LANCZOS)
Image.init() # initialize once all known file format handlers
def image_grid(imgs, batch_size=1, rows=None):
if rows is None:
......
......@@ -5,7 +5,7 @@ basicsr==1.4.2
gfpgan==1.3.8
gradio==3.15.0
numpy==1.23.3
Pillow==9.2.0
Pillow==9.3.0
realesrgan==0.3.0
torch
omegaconf==2.2.3
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册