-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
23 lines (19 loc) · 1.01 KB
/
Copy pathmain.py
File metadata and controls
23 lines (19 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from Script_generation import generate_script
from text_to_speech import text_to_speech
from subtitles_generation import subtitles_generation
from video_assembly import video_assembly
from video_uploading import video_uploading
video_path = r"C:\Users\Nithish\Content_Automisation\videos\Minecraft Parkour 7 Minutes Free To Use Gameplay 4K _ 65.mp4"
audio_path = r"C:\Users\Nithish\Content_Automisation\audio\output.wav"
subtitle_path = r"C:\Users\Nithish\Content_Automisation\audio\subtitles.srt"
output_video_path = r"C:\Users\Nithish\Content_Automisation\output\final_reel.mp4"
user_data_dir = r"C:\Users\Nithish\Content_Automisation\insta_session"
topic = ["AI in Healthcare", "AI in Finance", "AI in Education", "AI in Entertainment", "Ethical AI", "Future of AI"]
if __name__ == "__main__":
for t in topic:
script = generate_script(topic = t)
print(script)
text_to_speech(script)
subtitles_generation()
video_assembly()
video_uploading(t, output_video_path, user_data_dir)