Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbuphy committed Dec 19, 2023
1 parent cfd6745 commit 8e7bbf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ppdiffusers/deploy/gradio_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,13 @@ def parse_arguments():
choices=["paddle", "paddle_tensorrt"],
help="The inference runtime backend of unet model and text encoder model.",
)
parser.add_argument("--use_fp16", type=strtobool, default=False, help="Wheter to use FP16 mode")
parser.add_argument("--use_fp16", type=strtobool, default=True, help="Wheter to use FP16 mode")
parser.add_argument("--use_bf16", type=strtobool, default=False, help="Wheter to use BF16 mode")
parser.add_argument("--device_id", type=int, default=0, help="The selected gpu id.")
parser.add_argument(
"--parse_prompt_type",
type=str,
default="raw",
default="lpw",
choices=[
"raw",
"lpw",
Expand Down

0 comments on commit 8e7bbf4

Please sign in to comment.