This commit is contained in:
Vladimir Mandic 2023-01-04 08:20:42 -05:00 committed by GitHub
parent 1cfd8aec4a
commit 79c682ad4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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:

View file

@ -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