Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheLastBen/fast-stable-diffusion
/ functions
Functions
289 in github.com/TheLastBen/fast-stable-diffusion
⨍
Functions
289
◇
Types & classes
17
↓ 1 callers
Method
validate_queue_settings
(self)
AUTOMATIC1111_files/blocks.py:1691
↓ 1 callers
Function
vpar
(state_dict)
Dreambooth/det.py:97
Method
CLIPTextModel_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
Method
apply_negative_styles_to_prompt
(self, prompt, styles)
AUTOMATIC1111_files/styles.py:179
Method
apply_styles_to_prompt
(self, prompt, styles)
AUTOMATIC1111_files/styles.py:174
Method
bounding
(self, size)
Dreambooth/smart_crop.py:190
Function
convert_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
Method
create_limiter
(self)
Dreambooth/blocks.py:997
Method
create_limiter
(self)
AUTOMATIC1111_files/blocks.py:1458
Method
create_model_and_transforms_without_pretrained
(*args, pretrained=None, **kwargs)
Dreambooth/det.py:44
Function
crop_image
(im, size)
Dreambooth/smart_crop.py:13
Method
do_nothing
(*args, **kwargs)
Dreambooth/det.py:41
Function
download_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
Method
expects_oauth
Return whether the app expects user to authenticate via OAuth.
AUTOMATIC1111_files/blocks.py:922
Function
extract_commit_hash
Extracts the commit hash from a resolved filename toward a cache file.
Dreambooth/hub.py:219
Method
extract_styles_from_prompt
(self, prompt, negative_prompt)
AUTOMATIC1111_files/styles.py:209
Method
from_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
Method
from_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
Method
getLayout
(block)
Dreambooth/blocks.py:1023
Function
get_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
Method
get_block_instance
(id: int)
Dreambooth/blocks.py:587
Method
get_block_instance
(id: int)
AUTOMATIC1111_files/blocks.py:809
Function
get_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
Function
get_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
Method
get_config
(self)
Dreambooth/blocks.py:1004
Method
get_config
(self)
AUTOMATIC1111_files/blocks.py:1465
Function
get_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
Method
get_layout
(block)
AUTOMATIC1111_files/blocks.py:1486
Method
get_negative_style_prompts
(self, styles)
AUTOMATIC1111_files/styles.py:171
Method
get_style_prompts
(self, styles)
AUTOMATIC1111_files/styles.py:168
Function
has_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
Method
integrate
A catch-all method for integrating with other libraries. This method should be run after launch() Parameters: comet_ml: I
Dreambooth/blocks.py:1482
Method
integrate
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
Function
is_remote_url
(url_or_filename)
Dreambooth/hub.py:130
Method
iterate_over_children
(children_list)
Dreambooth/blocks.py:604
Method
iterate_over_children
(children_list)
AUTOMATIC1111_files/blocks.py:829
Method
launch
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
Method
launch
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
Function
linear_transformer_to_conv
(checkpoint)
Dreambooth/convertodiffv2.py:203
Function
linear_transformer_to_conv
(checkpoint)
Dreambooth/convertodiffv2-768.py:203
Method
load
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
Method
process_api
Processes API calls from the frontend. First preprocesses the data, then runs the relevant function, then postprocesses the output.
Dreambooth/blocks.py:934
Method
process_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
Method
push_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
Method
render
(self)
Dreambooth/blocks.py:682
Method
render
(self)
AUTOMATIC1111_files/blocks.py:929
Method
save_styles
(self, path: str = None)
AUTOMATIC1111_files/styles.py:184
Function
send_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
Method
startup_events
Events that should be run when the app containing this block starts up.
Dreambooth/blocks.py:1579
Method
startup_events
Events that should be run when the app containing this block starts up.
AUTOMATIC1111_files/blocks.py:2230
Method
transformers_configuration_utils_cached_file
(url, *args, local_files_only=False, **kwargs)
Dreambooth/det.py:75
Method
transformers_modeling_utils_load_pretrained_model
(*args, **kwargs)
Dreambooth/det.py:52
Method
transformers_tokenization_utils_base_cached_file
(url, *args, local_files_only=False, **kwargs)
Dreambooth/det.py:72
Method
transformers_utils_hub_get_file_from_cache
(original, url, *args, **kwargs)
Dreambooth/det.py:56
Method
transformers_utils_hub_get_from_cache
(url, *args, local_files_only=False, **kwargs)
Dreambooth/det.py:69
Method
unrender
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
Method
unrender
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
← previous
201–289 of 289, ranked by callers