MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / fetch_models

Method fetch_models

diffsynth/prompters/cog_prompter.py:20–21  ·  view source on GitHub ↗
(self, text_encoder: FluxTextEncoder2 = None)

Source from the content-addressed store, hash-verified

18
19
20 def fetch_models(self, text_encoder: FluxTextEncoder2 = None):
21 self.text_encoder = text_encoder
22
23
24 def encode_prompt_using_t5(self, prompt, text_encoder, tokenizer, max_length, device):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected