UPDATE: UI labels, install script less verb
+VersionUP (alpha passed)
This commit is contained in:
parent
805a0cae17
commit
be546524af
@ -2,7 +2,7 @@
|
||||
|
||||
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_NEW_EN.png?raw=true" alt="logo" width="180px"/>
|
||||
|
||||

|
||||

|
||||
|
||||
<a href="https://boosty.to/artgourieff" target="_blank">
|
||||
<img src="https://lovemet.ru/www/boosty.jpg" width="108" alt="Support Me on Boosty"/>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_NEW_RU.png?raw=true" alt="logo" width="180px"/>
|
||||
|
||||

|
||||

|
||||
|
||||
<a href="https://boosty.to/artgourieff" target="_blank">
|
||||
<img src="https://lovemet.ru/www/boosty.jpg" width="108" alt="Поддержать проект на Boosty"/>
|
||||
|
||||
@ -75,7 +75,7 @@ if not os.path.exists(models_dir):
|
||||
if not os.path.exists(model_path):
|
||||
download(model_url, model_path)
|
||||
|
||||
print("ReActor preheating...", end=' ')
|
||||
# print("ReActor preheating...", end=' ')
|
||||
|
||||
last_device = None
|
||||
first_run = False
|
||||
@ -121,7 +121,7 @@ with open(req_file) as file:
|
||||
print(e)
|
||||
print(f"\nERROR: Failed to install {ort} - ReActor won't start")
|
||||
raise e
|
||||
print(f"Device: {last_device}")
|
||||
# print(f"Device: {last_device}")
|
||||
strict = True
|
||||
for package in file:
|
||||
package_version = None
|
||||
|
||||
@ -164,7 +164,7 @@ def show(is_img2img: bool, show_br: bool = True, **msgs):
|
||||
0, 1, 1, step=0.1, label="Restore Face Visibility"
|
||||
)
|
||||
codeformer_weight = gr.Slider(
|
||||
0, 1, 0.5, step=0.1, label="CodeFormer Weight", info="0 = maximum effect, 1 = minimum effect"
|
||||
0, 1, 0.5, step=0.1, label="CodeFormer Weight (Fidelity)", info="0 = far from original (max restoration), 1 = close to original (min restoration)"
|
||||
)
|
||||
gr.Markdown("<br>", visible=show_br)
|
||||
swap_in_source = gr.Checkbox(
|
||||
|
||||
@ -23,7 +23,7 @@ def show(hash_check_block: bool = True):
|
||||
choices=DEVICE_LIST,
|
||||
value=DEVICE,
|
||||
type="value",
|
||||
info="If you already run 'Generate' - RESTART is required to apply. Click 'Save', (A1111) Extensions Tab -> 'Apply and restart UI' or (SD.Next) close the Server and start it again",
|
||||
info="Click 'Save' to apply. If you already run 'Generate' - RESTART is required: (A1111) Extensions Tab -> 'Apply and restart UI' or (SD.Next) close the Server and start it again",
|
||||
scale=2,
|
||||
)
|
||||
save_device_btn = gr.Button("Save", scale=0)
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
app_title = "ReActor"
|
||||
version_flag = "v0.6.0-a4"
|
||||
version_flag = "v0.6.0-b1"
|
||||
|
||||
from scripts.reactor_logger import logger, get_Run, set_Run
|
||||
from scripts.reactor_globals import DEVICE
|
||||
|
||||
is_run = get_Run()
|
||||
|
||||
if not is_run:
|
||||
logger.status(f"Running {version_flag}")
|
||||
logger.status(f"Running {version_flag} on Device: {DEVICE}")
|
||||
set_Run(True)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user