svjack commited on
Commit
54ac3f5
Β·
verified Β·
1 Parent(s): 745225d

Update switch_app.py

Browse files
Files changed (1) hide show
  1. switch_app.py +2 -1
switch_app.py CHANGED
@@ -39,7 +39,8 @@ model_midas = MidasDetector()
39
  model_dwpose = DWposeDetector()
40
 
41
  MAX_SEED = np.iinfo(np.int32).max
42
- MAX_IMAGE_SIZE = 1024
 
43
 
44
  def process_canny_condition(image, canny_threods=[100, 200]):
45
  np_image = image.copy()
 
39
  model_dwpose = DWposeDetector()
40
 
41
  MAX_SEED = np.iinfo(np.int32).max
42
+ #MAX_IMAGE_SIZE = 1024
43
+ MAX_IMAGE_SIZE = 512
44
 
45
  def process_canny_condition(image, canny_threods=[100, 200]):
46
  np_image = image.copy()