shubham680 commited on
Commit
9aea4fb
·
verified ·
1 Parent(s): c2e9cbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -101,8 +101,8 @@ def zip_file(folder_name="output_images"):
101
 
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)
 
101
 
102
 
103
 
104
+ def translation(img,n=5):
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)