meeww commited on
Commit
dc4d049
·
1 Parent(s): 2825685

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -43,15 +43,16 @@ def crop():
43
  imgcrop.save(str(i)+".png")
44
  fav = img.crop((10,10,18,18))
45
  fav.save("icon.png")
46
- init(100)
47
-
48
 
49
 
50
 
51
 
52
 
 
53
  def gen(seed):
54
- init(seed)
 
55
  crop()
56
  img0 = Image.open("0.png")
57
  img1 = Image.open("1.png")
 
43
  imgcrop.save(str(i)+".png")
44
  fav = img.crop((10,10,18,18))
45
  fav.save("icon.png")
46
+ init()
 
47
 
48
 
49
 
50
 
51
 
52
+ import numpy
53
  def gen(seed):
54
+ numpy.random.seed(seed)
55
+ init()
56
  crop()
57
  img0 = Image.open("0.png")
58
  img1 = Image.open("1.png")