Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -198,6 +198,7 @@ def get_pages(indices: List[int]) -> Dict[str, Any]:
|
|
198 |
"""
|
199 |
global images
|
200 |
print("indices to get", indices)
|
|
|
201 |
|
202 |
if not images:
|
203 |
return {"images": [], "count": 0}
|
|
|
198 |
"""
|
199 |
global images
|
200 |
print("indices to get", indices)
|
201 |
+
indices = exec(indices)
|
202 |
|
203 |
if not images:
|
204 |
return {"images": [], "count": 0}
|