Commit Graph

14 Commits

Author SHA1 Message Date
Paillat
a82c6446ba feat(FABLE.cmd): add FABLE.cmd script to run FABLE.ps1 and pause execution
feat(FABLE.ps1): add script to activate environment and run main.py
fix(montage.py): fix issue with downloading images and creating slide assets
fix(montage.py): fix issue with generating markdown slides
fix(montage.py): fix issue with generating huge slides
fix(montage.py): fix issue with generating blank slides
fix(thumbnail.py): remove TODO comment
fix(marp.md): remove unused CSS styles
fix(wiki_downloader.py): add user agent header to requests
2023-07-08 20:58:45 +02:00
Paillat
d81b2ccebf fix(video.py): remove unnecessary prompt for generating thumbnail
fix(video.py): assign url and id properties after uploading video
fix(montage.py): fix unsplash_url to use source.unsplash.com instead of api.unsplash.com
fix(montage.py): fix image download logic in prepare function
fix(marp.md): add missing newline at end of file
fix(wiki_downloader.py): fix image download logic in download_image function
2023-07-02 12:43:43 +02:00
Paillat
f7835f6604 feat(audio_prompts): add default audio prompts for narrator
feat(audio_prompts): add en_narrator_deep audio prompt for narrator
feat(audio_prompts): add en_narrator_light_bg audio prompt for narrator
fix(video.py): fix indentation and add prompt for generating thumbnail
fix(montage.py): fix indentation and add prompt for generating thumbnail
fix(montage.py): fix image download for wikimage slides

fix(speak.py): remove unused import statement
fix(speak.py): remove unused variable 'fakenames'
feat(speak.py): add function 'remove_blank_moments' to remove silent parts from audio file
feat(speak.py): add function 'optimize_string_groups' to optimize string groups for audio generation
fix(speak.py): fix comment indentation in 'generate_voice' function
fix(speak.py): remove unused imports in 'generate_voice' function
fix(speak.py): remove unused variable 'reduced_noise' in 'generate_voice' function
fix(speak.py): remove unused import statements in 'generate_voice' function
fix(speak.py): remove unused import statement for 'logging' module
fix(speak.py): remove unused print statements in 'main' function
fix(speak.py): remove unused import statement for 'logging' module
fix(speak.py): remove unused print statements in 'main' function
fix(speak.py):

fix(wiki_downloader.py): fix Google search URL to include correct query parameter
fix(wiki_downloader.py): reduce sleep time after page load to 1 second
fix(wiki_downloader.py): increase sleep time after image click to 5 seconds
2023-07-02 11:17:10 +02:00
Paillat
866f1b4138 chore(.gitignore): add bark_cache directory to gitignore
feat(video.py): use wav format instead of mp3 for generated audio files
feat(montage.py): use Bark TTS instead of 🐸TTS
feat(speak.py): add support for Bark TTS
fix(speak.py): remove unused 🐸TTS import and variable
fix(main.py): fix asyncio.run() call placement
docs: update requirements.txt with new dependencies
2023-06-25 21:59:52 +02:00
Paillat
5498fb7bac feat(video.py): add support for script_prompt.txt file to customize script prompts
fix(script.py): add prompt parameter to generate_script function
feat(main.py): add loop to run main function indefinitely and add option to quit with ctrl+c
2023-06-25 19:14:22 +02:00
Paillat
131e64eae0 refactor(video.py): remove unnecessary print statement
refactor(montage.py): use os.path.join instead of string concatenation
refactor(thumbnail.py): use os.path.join instead of string concatenation
refactor(uploader.py): use os.path.join instead of string concatenation
refactor(uploader.py): add support for client_secret.json file with different names in credentials folder
docs(readme.md): update instructions for openai and unsplash keys
docs(readme.md): update instructions for google oauth client id json files
docs(readme.md): add information about channel.yaml file in each channel's folder
2023-06-25 17:40:01 +02:00
Paillat
e676d5851e I mean its the biggest commit I ever did (did git add * cause I didn't want to explain all of this It's already so complicated) 2023-06-25 16:12:23 +02:00
Paillat
25f578f48c fix(generators/ideas.py): fix typo in variable name 'existing_ideas'
feat(generators/montage.py): add check to skip slide if it already exists
feat(generators/montage.py): add support for DEEPL_ACCESS_KEY and UNSPLASH_ACCESS_KEY environment variables
feat(generators/speak.py): add support for Johanne voice
feat(generators/speak.py): add emotion parameter to generate_voice function
feat(generators/uploader.py): add success message and authorization prompt message to run_local_server method
fix(main.py): check if credits is None before writing to meta.txt file
feat(prompts/marp.md): change theme to gaia and add lead and invert classes
2023-05-25 21:47:11 +02:00
Paillat
8a0029a048 refactor(montage.py): remove unused translate function
refactor(montage.py): remove unused srt_fr variable
refactor(montage.py): remove saving of french subtitle file
refactor(main.py): remove unused translate import and function call
2023-05-22 10:40:33 +02:00
Paillat
e9da4686f4 refactor(script.py): remove unused imports and variables 2023-05-15 16:53:09 +02:00
Paillat
da257e7b39 Added and fixed a whole bunch of things 2023-05-15 15:35:08 +02:00
Paillat
393600ad94 fix(speak.py): handle TTS initialization error when gpu is not available 2023-05-15 12:32:14 +02:00
Paillat
be20abb833 feat(ideas.py): add support for generating ideas for a specific subject
feat(ideas.py): add support for appending new ideas to existing ideas.json file
2023-05-15 11:50:33 +02:00
Paillat
5410752853 Initial commit 2023-05-15 10:11:04 +02:00