JoPmt commited on
Commit
0397dd6
1 Parent(s): f646ada

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,9 +32,9 @@ def make_hint(ipage, depth_estimator):
32
  def plex(goof,prompt):
33
  gc.collect()
34
  apol=[]
35
- goof = load_image(goof)
36
- goof.save('./gf.png', 'PNG')
37
  goof = goof.convert("RGB")
 
38
  ##base64_string = ''
39
  ##with open('./gf.png', 'rb') as image_file:
40
  ## base64_string = base64.b64encode(image_file.read()).decode('utf-8')
 
32
  def plex(goof,prompt):
33
  gc.collect()
34
  apol=[]
35
+ goof = load_image(goof).resize((512, 512))
 
36
  goof = goof.convert("RGB")
37
+ goof.save('./gf.png', 'PNG')
38
  ##base64_string = ''
39
  ##with open('./gf.png', 'rb') as image_file:
40
  ## base64_string = base64.b64encode(image_file.read()).decode('utf-8')