1
0
Fork 0
mirror of https://github.com/deepfakes/faceswap synced 2025-06-07 10:43:27 -04:00

bugfix: Alignments remove version check for video file extension update

- Typofixes
This commit is contained in:
torzdf 2024-04-21 20:03:42 +01:00
parent be42b04064
commit 0f947791f5
4 changed files with 5 additions and 6 deletions

View file

@ -266,7 +266,7 @@ conda_opts () {
echo ""
info "Faceswap will be installed inside a Conda Environment. If an environment already\
exists with the name specified then it will be deleted."
ask "Please specify a name for the Faceswap Conda Environmnet" "ENV_NAME"
ask "Please specify a name for the Faceswap Conda Environment" "ENV_NAME"
}
faceswap_opts () {

View file

@ -298,7 +298,7 @@ conda_opts () {
echo ""
info "Faceswap will be installed inside a Conda Environment. If an environment already\
exists with the name specified then it will be deleted."
ask "Please specify a name for the Faceswap Conda Environmnet" "ENV_NAME"
ask "Please specify a name for the Faceswap Conda Environment" "ENV_NAME"
}
faceswap_opts () {

View file

@ -111,9 +111,8 @@ class VideoExtension(_Updater):
bool
``True`` if the key extensions need updating otherwise ``False``
"""
if self._alignments.version > 2.4:
return False
# Note: Don't check on alignments file version. It's possible that the file gets updated to
# a newer version before this check is run
if self._extension.lower() not in VIDEO_EXTENSIONS:
return False

View file

@ -1061,7 +1061,7 @@ class ControlBuilder():
if any(line.startswith(" - ") for line in all_help):
intro = all_help[0]
retval = (intro,
{re.sub(r"[^A-Za-z0-9\-\_]+", "",
{re.sub(r"[^\w\-\_]+", "",
line.split()[1].lower()): " ".join(line.replace("_", " ").split()[1:])
for line in all_help if line.startswith(" - ")})
logger.debug("help items: %s", retval)