diff --git a/core/interact/interact.py b/core/interact/interact.py index 2a622a5..127769d 100644 --- a/core/interact/interact.py +++ b/core/interact/interact.py @@ -82,6 +82,9 @@ class InteractBase(object): raise NotImplemented def log_info(self, msg, end='\n'): + ans = self.get_default_answer(msg) + if ans is not None: + return ans if self.pg_bar is not None: print ("\n") print (msg, end=end) diff --git a/core/interact/no_interact_dict.py b/core/interact/no_interact_dict.py index 3dd043f..db237c9 100644 --- a/core/interact/no_interact_dict.py +++ b/core/interact/no_interact_dict.py @@ -3,6 +3,7 @@ import os dictionary = { '4' : '\n', + 'Choose one of saved models, or enter a name to create a new model.' : '\n', 'Output image format':'png', 'NonInteractiveMode':'True', 'Which GPU indexes to choose?': '0',