Skip to content

Commit

Permalink
sd3(fix): Add fixes for input paths and remove mixin support
Browse files Browse the repository at this point in the history
  • Loading branch information
teleprint-me committed Jul 26, 2024
1 parent e6727c1 commit d4c9633
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions diffuse/3/img2img.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def get_arguments() -> argparse.Namespace:
parser = argparse.ArgumentParser(
description="Generate images using images with Stable Diffusion 3 models."
)
parser.add_argument("model", help="Path to the diffusion model or model ID")
parser.add_argument("image", help="Path to the initial image")
parser.add_argument("model_path", help="Path to the diffusion model or model ID")
parser.add_argument("image_path", help="Path to the input image")
parser.add_argument("prompt", help="Prompt for image generation")
parser.add_argument(
"--negative_prompt", help="Negative prompt for image generation"
Expand Down Expand Up @@ -98,7 +98,6 @@ def main():
variant="fp16",
torch_dtype=torch.bfloat16,
use_safetensors=args.use_safetensors,
use_single_file=args.use_single_file,
add_watermarker=args.add_watermarker,
)

Expand Down

0 comments on commit d4c9633

Please sign in to comment.