sheikhed commited on
Commit
26f59a2
·
verified ·
1 Parent(s): 05c5bfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def combine_audio_video(video_path, audio_path, output_path):
85
  def is_image_url(url):
86
  parsed = urlparse(url)
87
  path = parsed.path.lower()
88
- return path.endswith(('.png', '.jpg', '.jpeg', '.gif', '.bmp'))
89
 
90
  def create_video_from_image(image_url, output_path, duration=10):
91
  # Download the image
 
85
  def is_image_url(url):
86
  parsed = urlparse(url)
87
  path = parsed.path.lower()
88
+ return path.endswith(('.png', '.jpg', '.jpeg', '.gif', '.bmp', '.tiff', '.webp', '.heic', '.svg', '.ico'))
89
 
90
  def create_video_from_image(image_url, output_path, duration=10):
91
  # Download the image