Spaces:
Runtime error
Runtime error
Dy
commited on
Commit
•
76065d0
1
Parent(s):
18bc539
Update app.py
Browse files
app.py
CHANGED
@@ -206,7 +206,7 @@ def prompt_to_video(video_prompt):
|
|
206 |
full_image_path = os.path.join(image_path, image_file)
|
207 |
|
208 |
# Convert the HTML to an image
|
209 |
-
imgkit.from_file(full_path, full_image_path,
|
210 |
|
211 |
# Store the image file name
|
212 |
file_images[html_file] = image_file
|
|
|
206 |
full_image_path = os.path.join(image_path, image_file)
|
207 |
|
208 |
# Convert the HTML to an image
|
209 |
+
imgkit.from_file(full_path, full_image_path, config=config)
|
210 |
|
211 |
# Store the image file name
|
212 |
file_images[html_file] = image_file
|