Spaces:
Runtime error
Runtime error
Commit
·
920ece4
1
Parent(s):
dec23e7
rollback to 10
Browse files
app.py
CHANGED
|
@@ -52,6 +52,10 @@ def predict(input_img1,
|
|
| 52 |
num_of_images=num_of_images,
|
| 53 |
resolution=resolution
|
| 54 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
return retList
|
| 56 |
|
| 57 |
|
|
|
|
| 52 |
num_of_images=num_of_images,
|
| 53 |
resolution=resolution
|
| 54 |
)
|
| 55 |
+
# add the rest up to 10
|
| 56 |
+
while (len(retList)<10):
|
| 57 |
+
retList.append(None)
|
| 58 |
+
|
| 59 |
return retList
|
| 60 |
|
| 61 |
|