Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -208,7 +208,7 @@ if uploaded_file is not None:
|
|
| 208 |
if transformation:
|
| 209 |
clear_folder()
|
| 210 |
per_trans = max(1,(image_count // len(transformation)))
|
| 211 |
-
trans_count=[per_trans+1 if (per_trans * len(transformation))!= image_count else
|
| 212 |
|
| 213 |
if "Translation" in transformation:
|
| 214 |
translation(img,trans_count)
|
|
|
|
| 208 |
if transformation:
|
| 209 |
clear_folder()
|
| 210 |
per_trans = max(1,(image_count // len(transformation)))
|
| 211 |
+
trans_count=[per_trans+1 if (per_trans * len(transformation))!= image_count else per_trans][0]
|
| 212 |
|
| 213 |
if "Translation" in transformation:
|
| 214 |
translation(img,trans_count)
|