shubham680 commited on
Commit
c2e9cbf
·
verified ·
1 Parent(s): 183807f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def zip_file(folder_name="output_images"):
102
 
103
 
104
  def translation(img,n):
105
- for i in range(n):
106
  tx=np.random.randint(2,50)
107
  ty=np.random.randint(1,45)
108
  tm=np.array([[1,0,tx],[0,1,ty]],dtype=np.float32)
 
102
 
103
 
104
  def translation(img,n):
105
+ for i in range(n=5):
106
  tx=np.random.randint(2,50)
107
  ty=np.random.randint(1,45)
108
  tm=np.array([[1,0,tx],[0,1,ty]],dtype=np.float32)