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

Method __init__

diffsynth/prompters/wan_prompter.py:86–90  ·  view source on GitHub ↗
(self, tokenizer_path=None, text_len=512)

Source from the content-addressed store, hash-verified

84class WanPrompter(BasePrompter):
85
86 def __init__(self, tokenizer_path=None, text_len=512):
87 super().__init__()
88 self.text_len = text_len
89 self.text_encoder = None
90 self.fetch_tokenizer(tokenizer_path)
91
92 def fetch_tokenizer(self, tokenizer_path=None):
93 if tokenizer_path is not None:

Callers

nothing calls this directly

Calls 1

fetch_tokenizerMethod · 0.95

Tested by

no test coverage detected