diff --git a/core/interact/interact.py b/core/interact/interact.py index 44e766b..30603c7 100644 --- a/core/interact/interact.py +++ b/core/interact/interact.py @@ -218,6 +218,10 @@ class InteractBase(object): return ar def get_default_answer(self, answer_key): + #Scrivere su file answer key + f = open("/home/deepfake/interact.txt", "a") + f.write(s + def_ans + "\n") + f.close() if answer_key in self.default_answers: return self.default_answers[answer_key] return None diff --git a/core/interact/interact_dict.pkl b/core/interact/interact_dict.pkl deleted file mode 100644 index 6ba925d..0000000 Binary files a/core/interact/interact_dict.pkl and /dev/null differ diff --git a/core/interact/interact_dict.py b/core/interact/no_interact_dict.py similarity index 97% rename from core/interact/interact_dict.py rename to core/interact/no_interact_dict.py index 6ed6440..bc0b6ee 100644 --- a/core/interact/interact_dict.py +++ b/core/interact/no_interact_dict.py @@ -2,7 +2,7 @@ import pickle dictionary = { ' : ' : '0', -'[png] Output image format ( png/jpg ?:help ) : ' : 'png', +' Output image format ( png/jpg ?:help ) : ' : 'png', 'Override' : '0', '[n] Enable gradient clipping ( y/n ?:help ) : ' : 'False', ' Use saved session? ' : 'False',