EnigmaOfTheWorld commited on
Commit
7afc966
β€’
1 Parent(s): 99b3432

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def transform_ncuda(img,prompt,cfg=8.0,stps=30,sc=0.8):
85
  img2 = Image.open(io.BytesIO(artifact.binary))
86
  return img2
87
  except Exception as e:
88
- img = img.resize((256,256), Image.ANTIALIAS)
89
  return transform_ncuda(img,prompt,cfg=8.0,stps=30,sc=0.8)
90
  # print(f'Caught error: {e}')
91
  # logging.warn(f'Caught error: {e}')
 
85
  img2 = Image.open(io.BytesIO(artifact.binary))
86
  return img2
87
  except Exception as e:
88
+ img = img.resize((832,832), Image.ANTIALIAS)
89
  return transform_ncuda(img,prompt,cfg=8.0,stps=30,sc=0.8)
90
  # print(f'Caught error: {e}')
91
  # logging.warn(f'Caught error: {e}')