MCPcopy Create free account

hub / github.com/TheLastBen/fast-stable-diffusion / functions

Functions289 in github.com/TheLastBen/fast-stable-diffusion

↓ 1 callersMethodvalidate_queue_settings
(self)
AUTOMATIC1111_files/blocks.py:1691
↓ 1 callersFunctionvpar
(state_dict)
Dreambooth/det.py:97
MethodCLIPTextModel_from_pretrained
(pretrained_model_name_or_path, *model_args, **kwargs)
Dreambooth/det.py:47
Method__call__
Allows Blocks objects to be called as functions. Supply the parameters to the function as positional arguments. To choose which funct
Dreambooth/blocks.py:757
Method__call__
Allows Blocks objects to be called as functions. Supply the parameters to the function as positional arguments. To choose which funct
AUTOMATIC1111_files/blocks.py:1008
Method__enter__
(self)
Dreambooth/det.py:40
Method__enter__
(self)
Dreambooth/blocks.py:284
Method__enter__
(self)
Dreambooth/blocks.py:1046
Method__enter__
(self)
AUTOMATIC1111_files/blocks.py:348
Method__enter__
(self)
AUTOMATIC1111_files/blocks.py:1513
Method__enter__
(self)
AUTOMATIC1111_files/paths.py:47
Method__exit__
(self, exc_type, exc_val, exc_tb)
Dreambooth/det.py:90
Method__exit__
(self, *args)
Dreambooth/blocks.py:314
Method__exit__
(self, *args)
Dreambooth/blocks.py:1053
Method__exit__
(self, *args)
AUTOMATIC1111_files/blocks.py:380
Method__exit__
(self, exc_type, exc_val, exc_tb)
AUTOMATIC1111_files/paths.py:51
Method__get__
(self, instance, type_)
Dreambooth/blocks.py:361
Method__get__
(self, instance, type_)
AUTOMATIC1111_files/blocks.py:436
Method__init__
(self, disable_clip=True)
Dreambooth/det.py:26
Method__init__
Parameters: visible: If False, this will be hidden but included in the Blocks config file (its visibility can later be updated).
Dreambooth/blocks.py:270
Method__init__
( self, fn: Optional[Callable], inputs: List[Component], outputs: List[Compone
Dreambooth/blocks.py:327
Method__init__
Parameters: theme: which theme to use - right now, only "default" is supported. analytics_enabled: whether to allow b
Dreambooth/blocks.py:494
Method__init__
(self, x, y, weight=1.0, size=10)
Dreambooth/smart_crop.py:184
Method__init__
(self, crop_width=512, crop_height=512, corner_points_weight=0.5, entropy_points_weight=0.5, face_points_weigh
Dreambooth/smart_crop.py:199
Method__init__
Parameters: visible: If False, this will be hidden but included in the Blocks config file (its visibility can later be updated).
AUTOMATIC1111_files/blocks.py:331
Method__init__
( self, fn: Callable | None, inputs: list[Component], outputs: list[Component]
AUTOMATIC1111_files/blocks.py:393
Method__init__
Parameters: theme: a Theme object or a string representing a theme. If a string, will look for a built-in theme with that name (e
AUTOMATIC1111_files/blocks.py:672
Method__init__
(self, paths: list[str])
AUTOMATIC1111_files/styles.py:82
Method__init__
(self, name)
AUTOMATIC1111_files/paths.py:43
Method__repr__
(self)
Dreambooth/blocks.py:356
Method__repr__
(self)
AUTOMATIC1111_files/blocks.py:431
Method__str__
(self)
Dreambooth/blocks.py:345
Method__str__
(self)
Dreambooth/blocks.py:662
Method__str__
(self)
AUTOMATIC1111_files/blocks.py:422
Method__str__
(self)
AUTOMATIC1111_files/blocks.py:901
Methodapply_negative_styles_to_prompt
(self, prompt, styles)
AUTOMATIC1111_files/styles.py:179
Methodapply_styles_to_prompt
(self, prompt, styles)
AUTOMATIC1111_files/styles.py:174
Methodbounding
(self, size)
Dreambooth/smart_crop.py:190
Functionconvert_file_size_to_int
Converts a size expressed as a string with digits an unit (like `"5MB"`) to an integer (in bytes). Args: size (`int` or `str`): The
Dreambooth/hub.py:845
Methodcreate_limiter
(self)
Dreambooth/blocks.py:997
Methodcreate_limiter
(self)
AUTOMATIC1111_files/blocks.py:1458
Methodcreate_model_and_transforms_without_pretrained
(*args, pretrained=None, **kwargs)
Dreambooth/det.py:44
Functioncrop_image
(im, size)
Dreambooth/smart_crop.py:13
Methoddo_nothing
(*args, **kwargs)
Dreambooth/det.py:41
Functiondownload_url
Downloads a given url in a temporary file. This function is not safe to use in multiple processes. Its only use is for deprecated behavior al
Dreambooth/hub.py:552
Methodexpects_oauth
Return whether the app expects user to authenticate via OAuth.
AUTOMATIC1111_files/blocks.py:922
Functionextract_commit_hash
Extracts the commit hash from a resolved filename toward a cache file.
Dreambooth/hub.py:219
Methodextract_styles_from_prompt
(self, prompt, negative_prompt)
AUTOMATIC1111_files/styles.py:209
Methodfrom_config
Factory method that creates a Blocks from a config and list of functions. Parameters: config: a dictionary containing the co
Dreambooth/blocks.py:572
Methodfrom_config
Factory method that creates a Blocks from a config and list of functions. Used internally by the gradio.external.load() method.
AUTOMATIC1111_files/blocks.py:783
MethodgetLayout
(block)
Dreambooth/blocks.py:1023
Functionget_api_info
Gets the information needed to generate the API docs from a Blocks config. Parameters: config: a Blocks config dictionary ser
AUTOMATIC1111_files/blocks.py:495
Methodget_block_instance
(id: int)
Dreambooth/blocks.py:587
Methodget_block_instance
(id: int)
AUTOMATIC1111_files/blocks.py:809
Functionget_cached_models
Returns a list of tuples representing model binaries that are cached locally. Each tuple has shape `(model_url, etag, size_MB)`. Filenames in
Dreambooth/hub.py:135
Functionget_checkpoint_shard_files
For a given model: - download and cache all the shards of a sharded checkpoint if `pretrained_model_name_or_path` is a model ID on the
Dreambooth/hub.py:878
Methodget_config
(self)
Dreambooth/blocks.py:1004
Methodget_config
(self)
AUTOMATIC1111_files/blocks.py:1465
Functionget_file_from_repo
Tries to locate a file in a local folder and repo, downloads and cache it if necessary. Args: path_or_repo (`str` or `os.PathLike`):
Dreambooth/hub.py:471
Methodget_layout
(block)
AUTOMATIC1111_files/blocks.py:1486
Methodget_negative_style_prompts
(self, styles)
AUTOMATIC1111_files/styles.py:171
Methodget_style_prompts
(self, styles)
AUTOMATIC1111_files/styles.py:168
Functionhas_file
Checks if a repo contains a given file wihtout downloading it. Works for remote repos and local folders. <Tip warning={false}> This fun
Dreambooth/hub.py:578
Methodintegrate
A catch-all method for integrating with other libraries. This method should be run after launch() Parameters: comet_ml: I
Dreambooth/blocks.py:1482
Methodintegrate
A catch-all method for integrating with other libraries. This method should be run after launch() Parameters: comet_ml: I
AUTOMATIC1111_files/blocks.py:2117
Functionis_remote_url
(url_or_filename)
Dreambooth/hub.py:130
Methoditerate_over_children
(children_list)
Dreambooth/blocks.py:604
Methoditerate_over_children
(children_list)
AUTOMATIC1111_files/blocks.py:829
Methodlaunch
Launches a simple web server that serves the demo. Can also be used to create a public link used by anyone to access the demo from th
Dreambooth/blocks.py:1171
Methodlaunch
Launches a simple web server that serves the demo. Can also be used to create a public link used by anyone to access the demo from th
AUTOMATIC1111_files/blocks.py:1718
Functionlinear_transformer_to_conv
(checkpoint)
Dreambooth/convertodiffv2.py:203
Functionlinear_transformer_to_conv
(checkpoint)
Dreambooth/convertodiffv2-768.py:203
Methodload
For reverse compatibility reasons, this is both a class method and an instance method, the two of which, confusingly, do two complete
AUTOMATIC1111_files/blocks.py:1536
Methodprocess_api
Processes API calls from the frontend. First preprocesses the data, then runs the relevant function, then postprocesses the output.
Dreambooth/blocks.py:934
Methodprocess_api
Processes API calls from the frontend. First preprocesses the data, then runs the relevant function, then postprocesses the output.
AUTOMATIC1111_files/blocks.py:1372
Methodpush_to_hub
Upload the {object_files} to the 🤗 Model Hub while synchronizing a local clone of the repo in `repo_path_or_name`. Parameter
Dreambooth/hub.py:712
Methodrender
(self)
Dreambooth/blocks.py:682
Methodrender
(self)
AUTOMATIC1111_files/blocks.py:929
Methodsave_styles
(self, path: str = None)
AUTOMATIC1111_files/styles.py:184
Functionsend_example_telemetry
Sends telemetry that helps tracking the examples use. Args: example_name (`str`): The name of the example. *example_args (da
Dreambooth/hub.py:807
Methodstartup_events
Events that should be run when the app containing this block starts up.
Dreambooth/blocks.py:1579
Methodstartup_events
Events that should be run when the app containing this block starts up.
AUTOMATIC1111_files/blocks.py:2230
Methodtransformers_configuration_utils_cached_file
(url, *args, local_files_only=False, **kwargs)
Dreambooth/det.py:75
Methodtransformers_modeling_utils_load_pretrained_model
(*args, **kwargs)
Dreambooth/det.py:52
Methodtransformers_tokenization_utils_base_cached_file
(url, *args, local_files_only=False, **kwargs)
Dreambooth/det.py:72
Methodtransformers_utils_hub_get_file_from_cache
(original, url, *args, **kwargs)
Dreambooth/det.py:56
Methodtransformers_utils_hub_get_from_cache
(url, *args, local_files_only=False, **kwargs)
Dreambooth/det.py:69
Methodunrender
Removes self from BlockContext if it has been rendered (otherwise does nothing). Removes self from the layout and collection of block
Dreambooth/blocks.py:105
Methodunrender
Removes self from BlockContext if it has been rendered (otherwise does nothing). Removes self from the layout and collection of block
AUTOMATIC1111_files/blocks.py:138
← previous201–289 of 289, ranked by callers