Spaces:
Sleeping
Sleeping
liuhaotian
commited on
Commit
•
01d67d8
1
Parent(s):
f9a674e
Update
Browse files
app.py
CHANGED
@@ -27,8 +27,8 @@ def parse_option():
|
|
27 |
parser.add_argument("--guidance_scale", type=float, default=5, help="")
|
28 |
parser.add_argument("--alpha_scale", type=float, default=1, help="scale tanh(alpha). If 0, the behaviour is same as original model")
|
29 |
parser.add_argument("--load-text-box-generation", type=arg_bool, default=True, help="Load text-box generation pipeline.")
|
30 |
-
parser.add_argument("--load-text-box-inpainting", type=arg_bool, default=
|
31 |
-
parser.add_argument("--load-text-image-box-generation", type=arg_bool, default=
|
32 |
args = parser.parse_args()
|
33 |
return args
|
34 |
args = parse_option()
|
|
|
27 |
parser.add_argument("--guidance_scale", type=float, default=5, help="")
|
28 |
parser.add_argument("--alpha_scale", type=float, default=1, help="scale tanh(alpha). If 0, the behaviour is same as original model")
|
29 |
parser.add_argument("--load-text-box-generation", type=arg_bool, default=True, help="Load text-box generation pipeline.")
|
30 |
+
parser.add_argument("--load-text-box-inpainting", type=arg_bool, default=False, help="Load text-box inpainting pipeline.")
|
31 |
+
parser.add_argument("--load-text-image-box-generation", type=arg_bool, default=False, help="Load text-image-box generation pipeline.")
|
32 |
args = parser.parse_args()
|
33 |
return args
|
34 |
args = parse_option()
|