          folder, filename = self._set_folder_filename(input_is_video)
          super().__init__(folder, filename=filename)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def _set_folder_filename(self, input_is_video: bool) -> Tuple[str, str]:
          """ Return the folder and the filename for the alignments file.
  
          If the input is a video, the alignments file will be stored in the same folder
          as the video, with filename `<videoname>_alignments`.
  
 
</s> remove     def check_file_exists(alignments_file: str) -> Tuple[str, str]:
 </s> add     def check_file_exists(alignments_file: str) -> tuple[str, str]: </s> remove                  arguments: "Namespace",
 </s> add                  arguments: Namespace, </s> remove     def _rename_faces(self, filename_mappings: List[Tuple[str, str]]) -> int:
 </s> add     def _rename_faces(self, filename_mappings: list[tuple[str, str]]) -> int: </s> remove     def _load(self) -> Dict[str, Any]:
 </s> add     def _load(self) -> dict[str, T.Any]: </s> remove     def __init__(self, folder: str, count: Optional[int] = None):
 </s> add     def __init__(self, folder: str, count: int | None = None):
    def _set_folder_filename(self, input_is_video: bool) -> tuple[str, str]:
          folder, filename = self._set_folder_filename(input_is_video)
          super().__init__(folder, filename=filename)
          logger.debug("Initialized %s", self.__class__.__name__)
  
    def _set_folder_filename(self, input_is_video: bool) -> tuple[str, str]:
          """ Return the folder and the filename for the alignments file.
  
          If the input is a video, the alignments file will be stored in the same folder
          as the video, with filename `<videoname>_alignments`.
  
keep keep keep keep replace keep keep keep keep keep
 Rebase code (#1326)

* Remove tensorflow_probability requirement

* setup.py - fix progress bars

* requirements.txt: Remove pre python 3.9 packages

* update apple requirements.txt

* update INSTALL.md

* Remove python<3.9 code

* setup.py - fix Windows Installer

* typing: python3.9 compliant

* Update pytest and readthedocs python versions

* typing fixes

* Python Version updates
  - Reduce max version to 3.10
  - Default to 3.10 in installers
  - Remove incompatible 3.11 tests

* Update dependencies

* Downgrade imageio dep for Windows

* typing: merge optional unions and fixes

* Updates
  - min python version 3.10
  - typing to python 3.10 spec
  - remove pre-tf2.10 code
  - Add conda tests

* train: re-enable optimizer saving

* Update dockerfiles

* Update setup.py
  - Apple Conda deps to setup.py
  - Better Cuda + dependency handling

* bugfix: Patch logging to prevent Autograph errors

* Update dockerfiles

* Setup.py - Setup.py - stdout to utf-8

* Add more OSes to github Actions

* suppress mac-os end to end test 
scripts/fsmedia.py