mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 06:23:20 -07:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
a0620c97c2
1 changed files with 7 additions and 1 deletions
|
@ -244,9 +244,15 @@ class InteractBase(object):
|
||||||
print (help_message)
|
print (help_message)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if (valid_list is not None) and (inp.lower() not in valid_list):
|
if valid_list is not None:
|
||||||
|
if inp.lower() in valid_list:
|
||||||
|
return inp.lower()
|
||||||
|
if inp in valid_list:
|
||||||
|
return inp
|
||||||
return default_value
|
return default_value
|
||||||
|
|
||||||
return inp
|
return inp
|
||||||
|
|
||||||
except:
|
except:
|
||||||
print (default_value)
|
print (default_value)
|
||||||
return default_value
|
return default_value
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue