vilarin commited on
Commit
e346ccf
·
verified ·
1 Parent(s): 337aeb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -59,6 +59,7 @@ def generate(
59
  if seed == -1:
60
  seed = random.randint(0, MAX_SEED)
61
 
 
62
  if image.mode == "RGBA":
63
  image = image.convert("RGB")
64
 
 
59
  if seed == -1:
60
  seed = random.randint(0, MAX_SEED)
61
 
62
+ image = Image.open(Image)
63
  if image.mode == "RGBA":
64
  image = image.convert("RGB")
65