Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -- coding: utf-8 --`
import datetime
import argparse
import os
# engine
Expand Down Expand Up @@ -69,6 +70,6 @@ def main(args):
# inpainting
parser.add_argument("--mask", type=str, default=None, help="mask of the region to inpaint on the initial image")
# output name
parser.add_argument("--output", type=str, default="output.png", help="output image name")
parser.add_argument("--output", type=str, default="out_" + datetime.datetime.today().isoformat('_', 'seconds') + ".png", help="output image name")
args = parser.parse_args()
main(args)
main(args)