Spaces:
Build error
Build error
add progress tracking
Browse files53 unmodified lines5455565758596053 unmodified linesreturn output_path, new_width, target_heightdef infer(image_in, prompt, inference_steps, guidance_scale, control_weight):n_prompt = 'NSFW, nude, naked, porn, ugly'53 unmodified lines5455565758596053 unmodified linesreturn output_path, new_width, target_heightdef infer(image_in, prompt, inference_steps, guidance_scale, control_weight, progress=gr.Progress(track_tqdm=True)):n_prompt = 'NSFW, nude, naked, porn, ugly'
app.py+1-1