Spaces:
Runtime error
Runtime error
1littlecoder
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def create_video(image, audio):
|
|
14 |
image_clip = ImageClip(image).set_duration(audio_clip.duration)
|
15 |
|
16 |
# Load the logo image, resize it, and position it in the top-right corner
|
17 |
-
logo = ImageClip("Logo.png").resize(height=
|
18 |
logo = logo.set_position(("right", "top")).set_duration(audio_clip.duration)
|
19 |
|
20 |
# Create a composite video with the main image and the logo overlay
|
|
|
14 |
image_clip = ImageClip(image).set_duration(audio_clip.duration)
|
15 |
|
16 |
# Load the logo image, resize it, and position it in the top-right corner
|
17 |
+
logo = ImageClip("Logo.png").resize(height=100) # Adjust the height as needed
|
18 |
logo = logo.set_position(("right", "top")).set_duration(audio_clip.duration)
|
19 |
|
20 |
# Create a composite video with the main image and the logo overlay
|