MCPcopy Create free account
hub / github.com/DenOfEquity/ersatzForge / close

Method close

modules/processing.py:341–346  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

339 return opts.token_merging_ratio
340
341 def setup_prompts(self):
342 if isinstance(self.prompt,list):
343 self.all_prompts = self.prompt
344 elif isinstance(self.negative_prompt, list):
345 self.all_prompts = [self.prompt] * len(self.negative_prompt)
346 else:
347 self.all_prompts = self.batch_size * self.n_iter * [self.prompt]
348
349 if isinstance(self.negative_prompt, list):

Callers 5

webui_workerFunction · 0.45
mainFunction · 0.45
closeMethod · 0.45
clearMethod · 0.45
gradio_workerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected