mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 23:02:00 +03:00
Resize image was exported as well
Signed-off-by: Alex Volkov <alex.volkov@fundbox.com>
This commit is contained in:
parent
8662ea4623
commit
923e437bcf
2
webui.py
2
webui.py
@ -1,7 +1,7 @@
|
||||
import argparse, os, sys, glob, re
|
||||
|
||||
from frontend.frontend import draw_gradio_ui
|
||||
|
||||
from frontend.ui_functions import resize_image
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("--outdir", type=str, nargs="?", help="dir to write results to", default=None)
|
||||
parser.add_argument("--outdir_txt2img", type=str, nargs="?", help="dir to write txt2img results to (overrides --outdir)", default=None)
|
||||
|
@ -7,14 +7,14 @@ import base64
|
||||
import re
|
||||
|
||||
from frontend.frontend import draw_gradio_ui
|
||||
from frontend.ui_functions import resize_image
|
||||
|
||||
"""
|
||||
This file is here to play around with the interface without loading the whole model
|
||||
|
||||
TBD - extract all the UI into this file and import from the main webui.
|
||||
"""
|
||||
def resize_image(resize_mode, im, width, height):
|
||||
return im
|
||||
|
||||
GFPGAN = True
|
||||
RealESRGAN = True
|
||||
def run_goBIG():
|
||||
|
Loading…
Reference in New Issue
Block a user