Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files- myinfer_latest.py +1 -1
myinfer_latest.py
CHANGED
@@ -258,7 +258,7 @@ def merge_audio_image(mp3_path, image_path, output_dir, unique_id):
|
|
258 |
|
259 |
# Resize the image clip to Instagram's square dimensions (1080x1080)
|
260 |
#image_clip = image_clip.resize((1080, 1080))
|
261 |
-
image_clip = image_clip.resize((1080, 1080)
|
262 |
|
263 |
# Set the audio to the image clip
|
264 |
final_clip = image_clip.set_audio(audio_clip)
|
|
|
258 |
|
259 |
# Resize the image clip to Instagram's square dimensions (1080x1080)
|
260 |
#image_clip = image_clip.resize((1080, 1080))
|
261 |
+
image_clip = image_clip.resize((1080, 1080))
|
262 |
|
263 |
# Set the audio to the image clip
|
264 |
final_clip = image_clip.set_audio(audio_clip)
|