  """ The optional GUI for faceswap """
  
  import os
  import sys
  import tkinter as tk
  
  from tkinter import messagebox, ttk
  
 
</s> remove from importlib import import_module
 </s> add import logging </s> remove             import tkinter
 </s> add             # pylint: disable=unused-variable
            import tkinter  # noqa
# NB: The GUI can't currently log as it is a wrapper for the python scripts, so don't
#     implement logging unless you can handle the conflicts

  """ The optional GUI for faceswap """
  
# NB: The GUI can't currently log as it is a wrapper for the python scripts, so don't
#     implement logging unless you can handle the conflicts

  import os
  import sys
  import tkinter as tk
  
  from tkinter import messagebox, ttk
  
keep add keep keep keep keep keep keep
 Logging (#541)

* Convert prints to logger. Further logging improvements. Tidy  up

* Fix system verbosity. Allow SystemExit

* Fix reload extract bug

* Child Traceback handling

* Safer shutdown procedure

* Add shutdown event to queue manager

* landmarks_as_xy > property. GUI notes + linting. Aligner bugfix

* fix FaceFilter. Enable nFilter when no Filter is supplied

* Fix blurry face filter

* Continue on IO error. Better error handling

* Explicitly print stack trace tocrash log

* Windows Multiprocessing bugfix

* Add git info and conda version to crash log

* Windows/Anaconda mp bugfix

* Logging fixes for training 
scripts/gui.py