From be546524af43c2547b9f5fca0df14167d724f907 Mon Sep 17 00:00:00 2001
From: Gourieff <777@lovemet.ru>
Date: Sat, 6 Jan 2024 13:23:48 +0700
Subject: [PATCH] UPDATE: UI labels, install script less verb
+VersionUP (alpha passed)
---
README.md | 2 +-
README_RU.md | 2 +-
install.py | 4 ++--
reactor_ui/reactor_main_ui.py | 2 +-
reactor_ui/reactor_settings_ui.py | 2 +-
scripts/reactor_version.py | 5 +++--
6 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index cd3f800..aa31ec0 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
- 
+ 
diff --git a/README_RU.md b/README_RU.md
index 294ad57..a470c95 100644
--- a/README_RU.md
+++ b/README_RU.md
@@ -2,7 +2,7 @@
- 
+ 
diff --git a/install.py b/install.py
index 7023b53..fab874b 100644
--- a/install.py
+++ b/install.py
@@ -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
diff --git a/reactor_ui/reactor_main_ui.py b/reactor_ui/reactor_main_ui.py
index 5ed4212..5b2b9a2 100644
--- a/reactor_ui/reactor_main_ui.py
+++ b/reactor_ui/reactor_main_ui.py
@@ -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("
", visible=show_br)
swap_in_source = gr.Checkbox(
diff --git a/reactor_ui/reactor_settings_ui.py b/reactor_ui/reactor_settings_ui.py
index a5447a5..431fd2a 100644
--- a/reactor_ui/reactor_settings_ui.py
+++ b/reactor_ui/reactor_settings_ui.py
@@ -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)
diff --git a/scripts/reactor_version.py b/scripts/reactor_version.py
index 85adc92..b46bbde 100644
--- a/scripts/reactor_version.py
+++ b/scripts/reactor_version.py
@@ -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)