  import cv2
  from tqdm import tqdm
  from shutil import copyfile
  import json
  import re
  
  # DLIB is a GPU Memory hog, so the following modules should only be imported when required
  face_recognition = None
  FaceLandmarksExtractor = None
  
 
</s> remove # DLIB is a GPU Memory hog, so the following modules should only be imported when required
 </s> add # DLIB is a GPU Memory hog, so the following modules should only be imported
# when required </s> remove     ''' Import the face_recognition module only when it is required '''
 </s> add     """ Import the face_recognition module only when it is required """ </s> remove     ''' Import the FaceLandmarksExtractor module only when it is required '''
 </s> add     """ Import the FaceLandmarksExtractor module only when it is required """ </s> remove from lib.cli import FullPaths
 </s> add from lib.cli import FullPaths, argparse, os, sys </s> remove class FaceswapGui(object):
    ''' The Graphical User Interface '''
    def __init__(self, options, parser):
        self.gui = tk.Tk()
 </s> add # An error will be thrown when importing tkinter for users without tkinter
# distribution packages or without an X-Console. Therefore if importing fails
# no attempt will be made to instantiate the gui.
try:
    import tkinter as tk
    from tkinter import ttk
    from tkinter import filedialog
    from tkinter import messagebox
    from tkinter import TclError
except ImportError:
    tk = None
    ttk = None
    filedialog = None
    messagebox = None
    TclError = None

class Utils(object):
    """ Inter-class object holding items that are required across classes """

    def __init__(self, options, calling_file="faceswap.py"):
from lib.cli import FullPaths
  import cv2
  from tqdm import tqdm
  from shutil import copyfile
  import json
from lib.cli import FullPaths
  
  # DLIB is a GPU Memory hog, so the following modules should only be imported when required
  face_recognition = None
  FaceLandmarksExtractor = None
  
keep keep keep keep replace keep keep keep keep keep
 GUI v0.2.1b (#352)

* Code refactor

* Console Added

* Add graphing with matplotlib

* Add GUI preview support

* Improve import handling.

* Add GUI integration for tools.py (Launch tools.py with the gui command)

* Reformat to conform to PEP8.

* Add Tooltips, 

* Make panels user adjustable

* Fix convert.py Sharpen default value 
tools/sort.py