Dy commited on
Commit
76065d0
1 Parent(s): 18bc539

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, configuration=config)
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