Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ def generate_video():
|
|
| 41 |
for id in range(len(lines)):
|
| 42 |
create_text_image(lines[id],id*2,image_olst)
|
| 43 |
print(image_olst)
|
| 44 |
-
image_files = sorted(glob.glob(os.path.join(
|
| 45 |
if not image_files:
|
| 46 |
raise ValueError("No images found in folder!")
|
| 47 |
|
|
|
|
| 41 |
for id in range(len(lines)):
|
| 42 |
create_text_image(lines[id],id*2,image_olst)
|
| 43 |
print(image_olst)
|
| 44 |
+
image_files = sorted(glob.glob(os.path.join(image_folder, "*.png")))
|
| 45 |
if not image_files:
|
| 46 |
raise ValueError("No images found in folder!")
|
| 47 |
|