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 import modules.gfpgan_model
from modules.ui import plaintext_to_html from modules.ui import plaintext_to_html
import modules.codeformer_model import modules.codeformer_model
import piexif
import piexif.helper
import gradio as gr import gradio as gr
import safetensors.torch 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) 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): def image_grid(imgs, batch_size=1, rows=None):
if rows is None: if rows is None:

View File

@ -5,7 +5,7 @@ basicsr==1.4.2
gfpgan==1.3.8 gfpgan==1.3.8
gradio==3.15.0 gradio==3.15.0
numpy==1.23.3 numpy==1.23.3
Pillow==9.2.0 Pillow==9.3.0
realesrgan==0.3.0 realesrgan==0.3.0
torch torch
omegaconf==2.2.3 omegaconf==2.2.3