Spaces:
Runtime error
Runtime error
Commit
·
1e76e9b
1
Parent(s):
3e092b3
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def double_res(input_image):
|
|
55 |
to_predict.append(lower_left_slice)
|
56 |
|
57 |
# predicting all images at once
|
58 |
-
predicted = model.predict(np.array(to_predict), batch_size =
|
59 |
counter = 0
|
60 |
for i in range(height):
|
61 |
for j in range(width):
|
|
|
55 |
to_predict.append(lower_left_slice)
|
56 |
|
57 |
# predicting all images at once
|
58 |
+
predicted = model.predict(np.array(to_predict), batch_size = 4)
|
59 |
counter = 0
|
60 |
for i in range(height):
|
61 |
for j in range(width):
|