  
  from .popup_configure import popup_config
  
  _RESOURCES = [("faceswap.dev - Guides and Forum", "https://www.faceswap.dev"),
                ("Patreon - Support this project", "https://www.patreon.com/faceswap"),
                ("Discord - The FaceSwap Discord server", "https://discord.gg/VasFUAy"),
                ("Github - Our Source Code", "https://github.com/deepfakes/faceswap")]
  
 
</s> remove from .utils import get_config
 </s> add  </s> remove def adjust_wraplength(event):
    """ dynamically adjust the wraplength of a label on event """
    label = event.widget
    label.configure(wraplength=event.width - 1)


 </s> add  </s> remove         start_idx = len(imagefiles) - num_images if len(imagefiles) > num_images else 0
        show_files = sorted(imagefiles, key=os.path.getctime)[start_idx:]
 </s> add         start_idx = len(image_files) - num_images if len(image_files) > num_images else 0
        show_files = sorted(image_files, key=os.path.getctime)[start_idx:] </s> remove         root = get_config().root
        config = get_config().user_config_dict
        r_width = root.winfo_width()
        r_height = root.winfo_height()
        w_ratio = config["options_panel_width"] / 100.0
        h_ratio = 1 - (config["console_panel_height"] / 100.0)
 </s> add         config_opts = self._config.user_config_dict
        r_width = self.winfo_width()
        r_height = self.winfo_height()
        w_ratio = config_opts["options_panel_width"] / 100.0
        h_ratio = 1 - (config_opts["console_panel_height"] / 100.0)
from .custom_widgets import Tooltip
from .utils import get_config, get_images
  
  from .popup_configure import popup_config
from .custom_widgets import Tooltip
from .utils import get_config, get_images
  
  _RESOURCES = [("faceswap.dev - Guides and Forum", "https://www.faceswap.dev"),
                ("Patreon - Support this project", "https://www.patreon.com/faceswap"),
                ("Discord - The FaceSwap Discord server", "https://discord.gg/VasFUAy"),
                ("Github - Our Source Code", "https://github.com/deepfakes/faceswap")]
  
keep add keep keep keep keep keep keep
 GUI Updates (#940)

* lib.gui: Update icons
* tools.cli: Add video filetype flag to mask input
* lib.gui.popup_configure: Refresh GUI on config save
* lib.gui._config: Add Icon size and load last session options
* lib.gui.control_helper - Add control modification tracking
* lib.gui - Add Projects and Last Session
- Main root title handled by projects
- Add Hotkeys
- Create projects module
- split fsw and fst filetypes
- Add last_session saving

* lib.project
- Documentation
- Ask confirm on closing unsaved project
-Fixups

* Track model folder changes
- Shuffle some globals
- Activate System Verbosity for GUI

* lib.gui.utils - Documentation and clean up
- lib.gui.custom_widgets - Create and document

* Add GUI config option to disable auto loading model stats 
lib/gui/menu.py