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

Method __init__

diffsynth/prompters/prompt_refiners.py:112–115  ·  view source on GitHub ↗
(self, tokenizer_path=None, model=None)

Source from the content-addressed store, hash-verified

110
111class Translator(torch.nn.Module):
112 def __init__(self, tokenizer_path=None, model=None):
113 super().__init__()
114 self.tokenizer = AutoTokenizer.from_pretrained(tokenizer_path)
115 self.model = model
116
117
118 @staticmethod

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
from_pretrainedMethod · 0.45

Tested by

no test coverage detected