INNER CODE UNIT · Python

seed

fofr/cog-face-to-sticker · predict.py:144

            seed = random.randint(0, 2**32 - 1)
            print(f"Random seed set to: {seed}")

        workflow = json.loads(workflow_json)
        self.update_workflow(
            workflow,
            filename=filename,
            seed=seed,
            prompt=prompt,
            negative_prompt=negative_prompt,
            width=width,
            height=height,
            steps=steps,
            upscale=upscale,
            upscale_steps=upscale_steps,
            prompt_strength=prompt_strength,
            instant_id_strength=instant_id_strength,
            ip_adapter_weight=ip_adapter_weight,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…