Spaces:
Sleeping
Sleeping
Update process_energy.py
Browse files- process_energy.py +1 -1
process_energy.py
CHANGED
|
@@ -170,7 +170,7 @@ def activate_transfer():
|
|
| 170 |
# Fungsi untuk membuat video afirmasi dengan audio tanpa teks
|
| 171 |
def create_affirmation_video_with_audio(audio_filename, output_filename="affirmation_video.mp4"):
|
| 172 |
# Load background GIF and loop it
|
| 173 |
-
background_clip = VideoFileClip("spin_energy.gif").fx(loop, duration=180)
|
| 174 |
|
| 175 |
# Load the generated audio file
|
| 176 |
audio_clip = AudioFileClip(audio_filename)
|
|
|
|
| 170 |
# Fungsi untuk membuat video afirmasi dengan audio tanpa teks
|
| 171 |
def create_affirmation_video_with_audio(audio_filename, output_filename="affirmation_video.mp4"):
|
| 172 |
# Load background GIF and loop it
|
| 173 |
+
background_clip = VideoFileClip("spin_energy.gif").fx(loop, duration=180)
|
| 174 |
|
| 175 |
# Load the generated audio file
|
| 176 |
audio_clip = AudioFileClip(audio_filename)
|