mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-05 20:42:11 -07:00
added sumbmodules
This commit is contained in:
parent
ab7fe2e42d
commit
2023661008
1 changed files with 3 additions and 8 deletions
|
@ -426,17 +426,12 @@ class InteractBase(object):
|
|||
p.daemon = True
|
||||
p.start()
|
||||
t = time.time()
|
||||
if 'Override' in self.default_answers:
|
||||
p.terminate()
|
||||
p.join()
|
||||
|
||||
old_stdin = sys.stdin
|
||||
sys.stdin = os.fdopen( os.dup(sys.stdin.fileno()) )
|
||||
old_stdin.close()
|
||||
return True
|
||||
|
||||
inp = False
|
||||
while True:
|
||||
if 'Override' in self.default_answers:
|
||||
inp = True
|
||||
break
|
||||
if not sq.empty():
|
||||
inp = sq.get()
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue