LPX55 commited on
Commit
783bc7f
·
verified ·
1 Parent(s): b524f8f

Update app_inpaint2.py

Browse files
Files changed (1) hide show
  1. app_inpaint2.py +2 -0
app_inpaint2.py CHANGED
@@ -65,6 +65,8 @@ def fill_image(prompt, image, model_selection, paste_back):
65
  """
66
  Handles the fill/repair process for inputs from ImageMask (gr. ImageMask). Applies a default 5% expansion to user-drawn masks here.
67
  """
 
 
68
  print(f"Received image: {image}")
69
  if image is None:
70
  yield None, None
 
65
  """
66
  Handles the fill/repair process for inputs from ImageMask (gr. ImageMask). Applies a default 5% expansion to user-drawn masks here.
67
  """
68
+ global pipe
69
+
70
  print(f"Received image: {image}")
71
  if image is None:
72
  yield None, None