svjack commited on
Commit
8e3b30d
Β·
verified Β·
1 Parent(s): 4f220b9

Update canny_app.py

Browse files
Files changed (1) hide show
  1. canny_app.py +2 -1
canny_app.py CHANGED
@@ -56,7 +56,8 @@ def process_canny_condition(image, canny_threods=[100, 200]):
56
  return Image.fromarray(np_image)
57
 
58
  MAX_SEED = np.iinfo(np.int32).max
59
- MAX_IMAGE_SIZE = 1024
 
60
 
61
  def infer_canny(prompt,
62
  image=None,
 
56
  return Image.fromarray(np_image)
57
 
58
  MAX_SEED = np.iinfo(np.int32).max
59
+ #MAX_IMAGE_SIZE = 1024
60
+ MAX_IMAGE_SIZE = 512
61
 
62
  def infer_canny(prompt,
63
  image=None,