
from transformers import ProcessorMixin






class 						UpperCAmelCase	(		A_				):
   A__      :	List[Any]		  =  "AutoFeatureExtractor"
   A__      :	Dict		  =  "AutoTokenizer"







import unittest
from pathlib import Path
from tempfile import TemporaryDirectory
from unittest.mock import Mock, patch

import diffusers.utils.hub_utils






class 						UpperCAmelCase	(		unittest.TestCase				):



   @patch("diffusers.utils.hub_utils.get_full_repo_name"				)
   def        _SCREAMING_SNAKE_CASE     (self	:      Any					,		snake_case__	:      Mock				)	->			None:


          '''simple docstring'''


          snake_case :     str           =   "full_repo_name"
          with TemporaryDirectory() as tmpdir:
                 # Dummy args values
                 snake_case :     List[str]           =   Mock()
                 snake_case :     List[str]           =   tmpdir
                 snake_case :     Optional[int]           =   0
                 snake_case :     int           =   "hub_token"
                 snake_case :     Union[str, Any]           =   "dataset_name"
                 snake_case :     Tuple           =   0.01
                 snake_case :     int           =   10_00_00
                 snake_case :     Optional[Any]           =   1_00_00
                 snake_case :     Optional[Any]           =   0.01
                 snake_case :     Dict           =   0.02
                 snake_case :     List[Any]           =   0.03
                 snake_case :     str           =   0.0005
                 snake_case :     List[str]           =   0.000001
                 snake_case :     Tuple           =   1
                 snake_case :     Optional[int]           =   10
                 snake_case :     List[str]           =   0.001
                 snake_case :     List[Any]           =   0.1
                 snake_case :     List[str]           =   0.2
                 snake_case :     Tuple           =   True

                 # Model card mush be rendered and saved
                 diffusers.utils.hub_utils.create_model_card(snake_case__					,		model_name="model_name"				)
                 self.assertTrue((Path(snake_case__				) / "README.md").is_file()				)





