          for item in ("avgiterations", "smoothamount"):
              if item == "avgiterations":
                  dtype: Union[Type[int], Type[float]] = int
                  text = "Iterations to Average:"
                  default: Union[int, float] = 500
                  rounding = 25
                  min_max: Tuple[int, Union[int, float]] = (25, 2500)
              elif item == "smoothamount":
                  dtype = float
                  text = "Smoothing Amount:"
 
</s> remove                 min_max: Tuple[int, Union[int, float]] = (25, 2500)
 </s> add                 min_max: tuple[int, int | float] = (25, 2500) </s> remove                 dtype: Union[Type[int], Type[float]] = int
 </s> add                 dtype: type[int] | type[float] = int </s> remove                  info: Optional[str] = None,
                 rounding: Optional[int] = None,
                 min_max: Optional[Union[Tuple[int, int], Tuple[float, float]]] = None,
                 choices: Optional[Union[str, List[str]]] = None,
 </s> add                  info: str | None = None,
                 rounding: int | None = None,
                 min_max: tuple[int, int] | tuple[float, float] | None = None,
                 choices: str | list[str] | None = None, </s> remove         self._args: Dict[str, Union[int, float]] = {"avg_samples": avg_samples,
                                                    "smooth_amount": smooth_amount,
                                                    "flatten_outliers": flatten_outliers}
 </s> add         self._args: dict[str, int | float] = {"avg_samples": avg_samples,
                                              "smooth_amount": smooth_amount,
                                              "flatten_outliers": flatten_outliers} </s> remove                  group: Optional[str] = None) -> None:
 </s> add                  group: str | None = None) -> None:
                default: int | float = 500
          for item in ("avgiterations", "smoothamount"):
              if item == "avgiterations":
                  dtype: Union[Type[int], Type[float]] = int
                  text = "Iterations to Average:"
                default: int | float = 500
                  rounding = 25
                  min_max: Tuple[int, Union[int, float]] = (25, 2500)
              elif item == "smoothamount":
                  dtype = float
                  text = "Smoothing Amount:"
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 
lib/gui/popup_session.py