Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files257 unmodified lines258259260261261262263264257 unmodified lines
# Resize the image clip to Instagram's square dimensions (1080x1080)
#image_clip = image_clip.resize((1080, 1080))
image_clip = image_clip.resize((1080, 1080), resample='lanczos')
image_clip = image_clip.resize((1080, 1080))
# Set the audio to the image clip
final_clip = image_clip.set_audio(audio_clip)myinfer_latest.py+1-1