fffiloni commited on
Commit
b9c2714
·
verified ·
1 Parent(s): 0f7840a

add progress tracking

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def resize_image(input_path, output_path, target_height):
54
 
55
  return output_path, new_width, target_height
56
 
57
- def infer(image_in, prompt, inference_steps, guidance_scale, control_weight):
58
 
59
  n_prompt = 'NSFW, nude, naked, porn, ugly'
60
 
 
54
 
55
  return output_path, new_width, target_height
56
 
57
+ def infer(image_in, prompt, inference_steps, guidance_scale, control_weight, progress=gr.Progress(track_tqdm=True)):
58
 
59
  n_prompt = 'NSFW, nude, naked, porn, ugly'
60