Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
1littlecoder
commited on
Commit
•
6f6356f
1
Parent(s):
156b0b1
updated roast logo
Browse files
app.py
CHANGED
@@ -98,7 +98,9 @@ def create_video(image, audio):
|
|
98 |
image_clip = ImageClip(image).set_duration(audio_clip.duration)
|
99 |
|
100 |
# Load the logo image, resize it, and position it in the top-right corner
|
101 |
-
logo = ImageClip("Logo.png").resize(height=75) # Adjust the height as needed
|
|
|
|
|
102 |
logo = logo.margin(bottom=10, opacity=0).set_position(("center", "bottom")).set_duration(audio_clip.duration)
|
103 |
|
104 |
# Create a composite video with the main image and the logo overlay
|
|
|
98 |
image_clip = ImageClip(image).set_duration(audio_clip.duration)
|
99 |
|
100 |
# Load the logo image, resize it, and position it in the top-right corner
|
101 |
+
logo = ImageClip("PlayAI-Logo-RoastURL.png").resize(height=75) # Adjust the height as needed
|
102 |
+
|
103 |
+
#logo = ImageClip("Logo.png").resize(height=75) # Adjust the height as needed
|
104 |
logo = logo.margin(bottom=10, opacity=0).set_position(("center", "bottom")).set_duration(audio_clip.duration)
|
105 |
|
106 |
# Create a composite video with the main image and the logo overlay
|