├── .gitignore ├── .pylintrc ├── Gemfile ├── Gemfile.lock ├── LICENSE.md ├── Pipfile ├── Pipfile.lock ├── README.md ├── cat_playing_cards_dalle_test.jpg ├── demo_output ├── awesome_voice.mp3 ├── caption_0.jpg ├── caption_1.jpg ├── caption_10.jpg ├── caption_2.jpg ├── caption_3.jpg ├── caption_4.jpg ├── caption_5.jpg ├── caption_6.jpg ├── caption_7.jpg ├── caption_8.jpg ├── caption_9.jpg └── video.mp4 ├── src ├── captions_generator.py ├── chat_gpt_session.py ├── dalle2_image_generator.py ├── eleven_labs_voice_generation.py ├── log.py ├── main.py ├── script_generator.py ├── script_narration.py └── video_maker.py └── tools └── maker.rb /.gitignore: -------------------------------------------------------------------------------- 1 | outputs/* -------------------------------------------------------------------------------- /.pylintrc: -------------------------------------------------------------------------------- 1 | [MESSAGE CONTROL] 2 | disable=missing-module-docstring, missing-function-docstring, missing-class-docstring, too-few-public-methods, line-too-long 3 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'fastimage' -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | fastimage (2.2.7) 5 | 6 | PLATFORMS 7 | arm64-darwin-22 8 | 9 | DEPENDENCIES 10 | fastimage 11 | 12 | BUNDLED WITH 13 | 2.4.21 14 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright 2023 Eldar Eliav. 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- 1 | [[source]] 2 | url = "https://pypi.org/simple" 3 | verify_ssl = true 4 | name = "pypi" 5 | 6 | [packages] 7 | elevenlabs = "==0.2.9" 8 | pydub = "==0.25.1" 9 | openai = "==0.27.5" 10 | pillow = "==9.5.0" 11 | urllib3 = "==1.26.15" 12 | pydantic = "==1.10.7" 13 | 14 | [dev-packages] 15 | 16 | [requires] 17 | python_version = "3.9.6" 18 | -------------------------------------------------------------------------------- /Pipfile.lock: -------------------------------------------------------------------------------- 1 | { 2 | "_meta": { 3 | "hash": { 4 | "sha256": "c2df91ca74c7292cdb67a8a85ebd97d4ea28b165a6f38c5b44328108e39b6e2d" 5 | }, 6 | "pipfile-spec": 6, 7 | "requires": { 8 | "python_version": "3.9.6" 9 | }, 10 | "sources": [ 11 | { 12 | "name": "pypi", 13 | "url": "https://pypi.org/simple", 14 | "verify_ssl": true 15 | } 16 | ] 17 | }, 18 | "default": { 19 | "aiohttp": { 20 | "hashes": [ 21 | "sha256:02ab6006ec3c3463b528374c4cdce86434e7b89ad355e7bf29e2f16b46c7dd6f", 22 | "sha256:04fa38875e53eb7e354ece1607b1d2fdee2d175ea4e4d745f6ec9f751fe20c7c", 23 | "sha256:0b0a6a36ed7e164c6df1e18ee47afbd1990ce47cb428739d6c99aaabfaf1b3af", 24 | "sha256:0d406b01a9f5a7e232d1b0d161b40c05275ffbcbd772dc18c1d5a570961a1ca4", 25 | "sha256:0e49b08eafa4f5707ecfb321ab9592717a319e37938e301d462f79b4e860c32a", 26 | "sha256:0e7ba7ff228c0d9a2cd66194e90f2bca6e0abca810b786901a569c0de082f489", 27 | "sha256:11cb254e397a82efb1805d12561e80124928e04e9c4483587ce7390b3866d213", 28 | "sha256:11ff168d752cb41e8492817e10fb4f85828f6a0142b9726a30c27c35a1835f01", 29 | "sha256:176df045597e674fa950bf5ae536be85699e04cea68fa3a616cf75e413737eb5", 30 | "sha256:219a16763dc0294842188ac8a12262b5671817042b35d45e44fd0a697d8c8361", 31 | "sha256:22698f01ff5653fe66d16ffb7658f582a0ac084d7da1323e39fd9eab326a1f26", 32 | "sha256:237533179d9747080bcaad4d02083ce295c0d2eab3e9e8ce103411a4312991a0", 33 | "sha256:289ba9ae8e88d0ba16062ecf02dd730b34186ea3b1e7489046fc338bdc3361c4", 34 | "sha256:2c59e0076ea31c08553e868cec02d22191c086f00b44610f8ab7363a11a5d9d8", 35 | "sha256:2c9376e2b09895c8ca8b95362283365eb5c03bdc8428ade80a864160605715f1", 36 | "sha256:3135713c5562731ee18f58d3ad1bf41e1d8883eb68b363f2ffde5b2ea4b84cc7", 37 | "sha256:3b9c7426923bb7bd66d409da46c41e3fb40f5caf679da624439b9eba92043fa6", 38 | "sha256:3c0266cd6f005e99f3f51e583012de2778e65af6b73860038b968a0a8888487a", 39 | "sha256:41473de252e1797c2d2293804e389a6d6986ef37cbb4a25208de537ae32141dd", 40 | "sha256:4831df72b053b1eed31eb00a2e1aff6896fb4485301d4ccb208cac264b648db4", 41 | "sha256:49f0c1b3c2842556e5de35f122fc0f0b721334ceb6e78c3719693364d4af8499", 42 | "sha256:4b4c452d0190c5a820d3f5c0f3cd8a28ace48c54053e24da9d6041bf81113183", 43 | "sha256:4ee8caa925aebc1e64e98432d78ea8de67b2272252b0a931d2ac3bd876ad5544", 44 | "sha256:500f1c59906cd142d452074f3811614be04819a38ae2b3239a48b82649c08821", 45 | "sha256:5216b6082c624b55cfe79af5d538e499cd5f5b976820eac31951fb4325974501", 46 | "sha256:54311eb54f3a0c45efb9ed0d0a8f43d1bc6060d773f6973efd90037a51cd0a3f", 47 | "sha256:54631fb69a6e44b2ba522f7c22a6fb2667a02fd97d636048478db2fd8c4e98fe", 48 | "sha256:565760d6812b8d78d416c3c7cfdf5362fbe0d0d25b82fed75d0d29e18d7fc30f", 49 | "sha256:598db66eaf2e04aa0c8900a63b0101fdc5e6b8a7ddd805c56d86efb54eb66672", 50 | "sha256:5c4fa235d534b3547184831c624c0b7c1e262cd1de847d95085ec94c16fddcd5", 51 | "sha256:69985d50a2b6f709412d944ffb2e97d0be154ea90600b7a921f95a87d6f108a2", 52 | "sha256:69da0f3ed3496808e8cbc5123a866c41c12c15baaaead96d256477edf168eb57", 53 | "sha256:6c93b7c2e52061f0925c3382d5cb8980e40f91c989563d3d32ca280069fd6a87", 54 | "sha256:70907533db712f7aa791effb38efa96f044ce3d4e850e2d7691abd759f4f0ae0", 55 | "sha256:81b77f868814346662c96ab36b875d7814ebf82340d3284a31681085c051320f", 56 | "sha256:82eefaf1a996060602f3cc1112d93ba8b201dbf5d8fd9611227de2003dddb3b7", 57 | "sha256:85c3e3c9cb1d480e0b9a64c658cd66b3cfb8e721636ab8b0e746e2d79a7a9eed", 58 | "sha256:8a22a34bc594d9d24621091d1b91511001a7eea91d6652ea495ce06e27381f70", 59 | "sha256:8cef8710fb849d97c533f259103f09bac167a008d7131d7b2b0e3a33269185c0", 60 | "sha256:8d44e7bf06b0c0a70a20f9100af9fcfd7f6d9d3913e37754c12d424179b4e48f", 61 | "sha256:8d7f98fde213f74561be1d6d3fa353656197f75d4edfbb3d94c9eb9b0fc47f5d", 62 | "sha256:8d8e4450e7fe24d86e86b23cc209e0023177b6d59502e33807b732d2deb6975f", 63 | "sha256:8fc49a87ac269d4529da45871e2ffb6874e87779c3d0e2ccd813c0899221239d", 64 | "sha256:90ec72d231169b4b8d6085be13023ece8fa9b1bb495e4398d847e25218e0f431", 65 | "sha256:91c742ca59045dce7ba76cab6e223e41d2c70d79e82c284a96411f8645e2afff", 66 | "sha256:9b05d33ff8e6b269e30a7957bd3244ffbce2a7a35a81b81c382629b80af1a8bf", 67 | "sha256:9b05d5cbe9dafcdc733262c3a99ccf63d2f7ce02543620d2bd8db4d4f7a22f83", 68 | "sha256:9c5857612c9813796960c00767645cb5da815af16dafb32d70c72a8390bbf690", 69 | "sha256:a34086c5cc285be878622e0a6ab897a986a6e8bf5b67ecb377015f06ed316587", 70 | "sha256:ab221850108a4a063c5b8a70f00dd7a1975e5a1713f87f4ab26a46e5feac5a0e", 71 | "sha256:b796b44111f0cab6bbf66214186e44734b5baab949cb5fb56154142a92989aeb", 72 | "sha256:b8c3a67eb87394386847d188996920f33b01b32155f0a94f36ca0e0c635bf3e3", 73 | "sha256:bcb6532b9814ea7c5a6a3299747c49de30e84472fa72821b07f5a9818bce0f66", 74 | "sha256:bcc0ea8d5b74a41b621ad4a13d96c36079c81628ccc0b30cfb1603e3dfa3a014", 75 | "sha256:bea94403a21eb94c93386d559bce297381609153e418a3ffc7d6bf772f59cc35", 76 | "sha256:bff7e2811814fa2271be95ab6e84c9436d027a0e59665de60edf44e529a42c1f", 77 | "sha256:c72444d17777865734aa1a4d167794c34b63e5883abb90356a0364a28904e6c0", 78 | "sha256:c7b5d5d64e2a14e35a9240b33b89389e0035e6de8dbb7ffa50d10d8b65c57449", 79 | "sha256:c7e939f1ae428a86e4abbb9a7c4732bf4706048818dfd979e5e2839ce0159f23", 80 | "sha256:c88a15f272a0ad3d7773cf3a37cc7b7d077cbfc8e331675cf1346e849d97a4e5", 81 | "sha256:c9110c06eaaac7e1f5562caf481f18ccf8f6fdf4c3323feab28a93d34cc646bd", 82 | "sha256:ca7ca5abfbfe8d39e653870fbe8d7710be7a857f8a8386fc9de1aae2e02ce7e4", 83 | "sha256:cae4c0c2ca800c793cae07ef3d40794625471040a87e1ba392039639ad61ab5b", 84 | "sha256:cdefe289681507187e375a5064c7599f52c40343a8701761c802c1853a504558", 85 | "sha256:cf2a0ac0615842b849f40c4d7f304986a242f1e68286dbf3bd7a835e4f83acfd", 86 | "sha256:cfeadf42840c1e870dc2042a232a8748e75a36b52d78968cda6736de55582766", 87 | "sha256:d737e69d193dac7296365a6dcb73bbbf53bb760ab25a3727716bbd42022e8d7a", 88 | "sha256:d7481f581251bb5558ba9f635db70908819caa221fc79ee52a7f58392778c636", 89 | "sha256:df9cf74b9bc03d586fc53ba470828d7b77ce51b0582d1d0b5b2fb673c0baa32d", 90 | "sha256:e1f80197f8b0b846a8d5cf7b7ec6084493950d0882cc5537fb7b96a69e3c8590", 91 | "sha256:ecca113f19d5e74048c001934045a2b9368d77b0b17691d905af18bd1c21275e", 92 | "sha256:ee2527134f95e106cc1653e9ac78846f3a2ec1004cf20ef4e02038035a74544d", 93 | "sha256:f27fdaadce22f2ef950fc10dcdf8048407c3b42b73779e48a4e76b3c35bca26c", 94 | "sha256:f694dc8a6a3112059258a725a4ebe9acac5fe62f11c77ac4dcf896edfa78ca28", 95 | "sha256:f800164276eec54e0af5c99feb9494c295118fc10a11b997bbb1348ba1a52065", 96 | "sha256:ffcd828e37dc219a72c9012ec44ad2e7e3066bec6ff3aaa19e7d435dbf4032ca" 97 | ], 98 | "markers": "python_version >= '3.8'", 99 | "version": "==3.9.1" 100 | }, 101 | "aiosignal": { 102 | "hashes": [ 103 | "sha256:54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc", 104 | "sha256:f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17" 105 | ], 106 | "markers": "python_version >= '3.7'", 107 | "version": "==1.3.1" 108 | }, 109 | "asttokens": { 110 | "hashes": [ 111 | "sha256:051ed49c3dcae8913ea7cd08e46a606dba30b79993209636c4875bc1d637bc24", 112 | "sha256:b03869718ba9a6eb027e134bfdf69f38a236d681c83c160d510768af11254ba0" 113 | ], 114 | "version": "==2.4.1" 115 | }, 116 | "async-timeout": { 117 | "hashes": [ 118 | "sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f", 119 | "sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028" 120 | ], 121 | "markers": "python_version < '3.11'", 122 | "version": "==4.0.3" 123 | }, 124 | "attrs": { 125 | "hashes": [ 126 | "sha256:1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04", 127 | "sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015" 128 | ], 129 | "markers": "python_version >= '3.7'", 130 | "version": "==23.1.0" 131 | }, 132 | "certifi": { 133 | "hashes": [ 134 | "sha256:9b469f3a900bf28dc19b8cfbf8019bf47f7fdd1a65a1d4ffb98fc14166beb4d1", 135 | "sha256:e036ab49d5b79556f99cfc2d9320b34cfbe5be05c5871b51de9329f0603b0474" 136 | ], 137 | "markers": "python_version >= '3.6'", 138 | "version": "==2023.11.17" 139 | }, 140 | "charset-normalizer": { 141 | "hashes": [ 142 | "sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027", 143 | "sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087", 144 | "sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786", 145 | "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8", 146 | "sha256:10955842570876604d404661fbccbc9c7e684caf432c09c715ec38fbae45ae09", 147 | "sha256:122c7fa62b130ed55f8f285bfd56d5f4b4a5b503609d181f9ad85e55c89f4185", 148 | "sha256:1ceae2f17a9c33cb48e3263960dc5fc8005351ee19db217e9b1bb15d28c02574", 149 | "sha256:1d3193f4a680c64b4b6a9115943538edb896edc190f0b222e73761716519268e", 150 | "sha256:1f79682fbe303db92bc2b1136016a38a42e835d932bab5b3b1bfcfbf0640e519", 151 | "sha256:2127566c664442652f024c837091890cb1942c30937add288223dc895793f898", 152 | "sha256:22afcb9f253dac0696b5a4be4a1c0f8762f8239e21b99680099abd9b2b1b2269", 153 | "sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3", 154 | "sha256:2e81c7b9c8979ce92ed306c249d46894776a909505d8f5a4ba55b14206e3222f", 155 | "sha256:3287761bc4ee9e33561a7e058c72ac0938c4f57fe49a09eae428fd88aafe7bb6", 156 | "sha256:34d1c8da1e78d2e001f363791c98a272bb734000fcef47a491c1e3b0505657a8", 157 | "sha256:37e55c8e51c236f95b033f6fb391d7d7970ba5fe7ff453dad675e88cf303377a", 158 | "sha256:3d47fa203a7bd9c5b6cee4736ee84ca03b8ef23193c0d1ca99b5089f72645c73", 159 | "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc", 160 | "sha256:42cb296636fcc8b0644486d15c12376cb9fa75443e00fb25de0b8602e64c1714", 161 | "sha256:45485e01ff4d3630ec0d9617310448a8702f70e9c01906b0d0118bdf9d124cf2", 162 | "sha256:4a78b2b446bd7c934f5dcedc588903fb2f5eec172f3d29e52a9096a43722adfc", 163 | "sha256:4ab2fe47fae9e0f9dee8c04187ce5d09f48eabe611be8259444906793ab7cbce", 164 | "sha256:4d0d1650369165a14e14e1e47b372cfcb31d6ab44e6e33cb2d4e57265290044d", 165 | "sha256:549a3a73da901d5bc3ce8d24e0600d1fa85524c10287f6004fbab87672bf3e1e", 166 | "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6", 167 | "sha256:572c3763a264ba47b3cf708a44ce965d98555f618ca42c926a9c1616d8f34269", 168 | "sha256:573f6eac48f4769d667c4442081b1794f52919e7edada77495aaed9236d13a96", 169 | "sha256:5b4c145409bef602a690e7cfad0a15a55c13320ff7a3ad7ca59c13bb8ba4d45d", 170 | "sha256:6463effa3186ea09411d50efc7d85360b38d5f09b870c48e4600f63af490e56a", 171 | "sha256:65f6f63034100ead094b8744b3b97965785388f308a64cf8d7c34f2f2e5be0c4", 172 | "sha256:663946639d296df6a2bb2aa51b60a2454ca1cb29835324c640dafb5ff2131a77", 173 | "sha256:6897af51655e3691ff853668779c7bad41579facacf5fd7253b0133308cf000d", 174 | "sha256:68d1f8a9e9e37c1223b656399be5d6b448dea850bed7d0f87a8311f1ff3dabb0", 175 | "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed", 176 | "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068", 177 | "sha256:6c4caeef8fa63d06bd437cd4bdcf3ffefe6738fb1b25951440d80dc7df8c03ac", 178 | "sha256:6ef1d82a3af9d3eecdba2321dc1b3c238245d890843e040e41e470ffa64c3e25", 179 | "sha256:753f10e867343b4511128c6ed8c82f7bec3bd026875576dfd88483c5c73b2fd8", 180 | "sha256:7cd13a2e3ddeed6913a65e66e94b51d80a041145a026c27e6bb76c31a853c6ab", 181 | "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26", 182 | "sha256:7f04c839ed0b6b98b1a7501a002144b76c18fb1c1850c8b98d458ac269e26ed2", 183 | "sha256:802fe99cca7457642125a8a88a084cef28ff0cf9407060f7b93dca5aa25480db", 184 | "sha256:80402cd6ee291dcb72644d6eac93785fe2c8b9cb30893c1af5b8fdd753b9d40f", 185 | "sha256:8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5", 186 | "sha256:86216b5cee4b06df986d214f664305142d9c76df9b6512be2738aa72a2048f99", 187 | "sha256:87d1351268731db79e0f8e745d92493ee2841c974128ef629dc518b937d9194c", 188 | "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d", 189 | "sha256:8c622a5fe39a48f78944a87d4fb8a53ee07344641b0562c540d840748571b811", 190 | "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa", 191 | "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a", 192 | "sha256:9063e24fdb1e498ab71cb7419e24622516c4a04476b17a2dab57e8baa30d6e03", 193 | "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b", 194 | "sha256:923c0c831b7cfcb071580d3f46c4baf50f174be571576556269530f4bbd79d04", 195 | "sha256:95f2a5796329323b8f0512e09dbb7a1860c46a39da62ecb2324f116fa8fdc85c", 196 | "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001", 197 | "sha256:9f96df6923e21816da7e0ad3fd47dd8f94b2a5ce594e00677c0013018b813458", 198 | "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389", 199 | "sha256:a50aebfa173e157099939b17f18600f72f84eed3049e743b68ad15bd69b6bf99", 200 | "sha256:a981a536974bbc7a512cf44ed14938cf01030a99e9b3a06dd59578882f06f985", 201 | "sha256:a9a8e9031d613fd2009c182b69c7b2c1ef8239a0efb1df3f7c8da66d5dd3d537", 202 | "sha256:ae5f4161f18c61806f411a13b0310bea87f987c7d2ecdbdaad0e94eb2e404238", 203 | "sha256:aed38f6e4fb3f5d6bf81bfa990a07806be9d83cf7bacef998ab1a9bd660a581f", 204 | "sha256:b01b88d45a6fcb69667cd6d2f7a9aeb4bf53760d7fc536bf679ec94fe9f3ff3d", 205 | "sha256:b261ccdec7821281dade748d088bb6e9b69e6d15b30652b74cbbac25e280b796", 206 | "sha256:b2b0a0c0517616b6869869f8c581d4eb2dd83a4d79e0ebcb7d373ef9956aeb0a", 207 | "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143", 208 | "sha256:bd8f7df7d12c2db9fab40bdd87a7c09b1530128315d047a086fa3ae3435cb3a8", 209 | "sha256:beb58fe5cdb101e3a055192ac291b7a21e3b7ef4f67fa1d74e331a7f2124341c", 210 | "sha256:c002b4ffc0be611f0d9da932eb0f704fe2602a9a949d1f738e4c34c75b0863d5", 211 | "sha256:c083af607d2515612056a31f0a8d9e0fcb5876b7bfc0abad3ecd275bc4ebc2d5", 212 | "sha256:c180f51afb394e165eafe4ac2936a14bee3eb10debc9d9e4db8958fe36afe711", 213 | "sha256:c235ebd9baae02f1b77bcea61bce332cb4331dc3617d254df3323aa01ab47bd4", 214 | "sha256:cd70574b12bb8a4d2aaa0094515df2463cb429d8536cfb6c7ce983246983e5a6", 215 | "sha256:d0eccceffcb53201b5bfebb52600a5fb483a20b61da9dbc885f8b103cbe7598c", 216 | "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7", 217 | "sha256:db364eca23f876da6f9e16c9da0df51aa4f104a972735574842618b8c6d999d4", 218 | "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b", 219 | "sha256:deb6be0ac38ece9ba87dea880e438f25ca3eddfac8b002a2ec3d9183a454e8ae", 220 | "sha256:e06ed3eb3218bc64786f7db41917d4e686cc4856944f53d5bdf83a6884432e12", 221 | "sha256:e27ad930a842b4c5eb8ac0016b0a54f5aebbe679340c26101df33424142c143c", 222 | "sha256:e537484df0d8f426ce2afb2d0f8e1c3d0b114b83f8850e5f2fbea0e797bd82ae", 223 | "sha256:eb00ed941194665c332bf8e078baf037d6c35d7c4f3102ea2d4f16ca94a26dc8", 224 | "sha256:eb6904c354526e758fda7167b33005998fb68c46fbc10e013ca97f21ca5c8887", 225 | "sha256:eb8821e09e916165e160797a6c17edda0679379a4be5c716c260e836e122f54b", 226 | "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4", 227 | "sha256:f27273b60488abe721a075bcca6d7f3964f9f6f067c8c4c605743023d7d3944f", 228 | "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5", 229 | "sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33", 230 | "sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519", 231 | "sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561" 232 | ], 233 | "markers": "python_full_version >= '3.7.0'", 234 | "version": "==3.3.2" 235 | }, 236 | "decorator": { 237 | "hashes": [ 238 | "sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330", 239 | "sha256:b8c3f85900b9dc423225913c5aace94729fe1fa9763b38939a95226f02d37186" 240 | ], 241 | "markers": "python_version >= '3.5'", 242 | "version": "==5.1.1" 243 | }, 244 | "elevenlabs": { 245 | "hashes": [ 246 | "sha256:2bbe4a81813cc50a61c2eb95166ae7ddc3ab5b9fc3c133764fdbca4328232f24", 247 | "sha256:84a864fb16413f3b790baf0d4a9510bfe33652f583d5617383a09dd9e34184db" 248 | ], 249 | "index": "pypi", 250 | "version": "==0.2.9" 251 | }, 252 | "exceptiongroup": { 253 | "hashes": [ 254 | "sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14", 255 | "sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68" 256 | ], 257 | "markers": "python_version < '3.11'", 258 | "version": "==1.2.0" 259 | }, 260 | "executing": { 261 | "hashes": [ 262 | "sha256:35afe2ce3affba8ee97f2d69927fa823b08b472b7b994e36a52a964b93d16147", 263 | "sha256:eac49ca94516ccc753f9fb5ce82603156e590b27525a8bc32cce8ae302eb61bc" 264 | ], 265 | "markers": "python_version >= '3.5'", 266 | "version": "==2.0.1" 267 | }, 268 | "frozenlist": { 269 | "hashes": [ 270 | "sha256:007df07a6e3eb3e33e9a1fe6a9db7af152bbd8a185f9aaa6ece10a3529e3e1c6", 271 | "sha256:008eb8b31b3ea6896da16c38c1b136cb9fec9e249e77f6211d479db79a4eaf01", 272 | "sha256:09163bdf0b2907454042edb19f887c6d33806adc71fbd54afc14908bfdc22251", 273 | "sha256:0c7c1b47859ee2cac3846fde1c1dc0f15da6cec5a0e5c72d101e0f83dcb67ff9", 274 | "sha256:0e5c8764c7829343d919cc2dfc587a8db01c4f70a4ebbc49abde5d4b158b007b", 275 | "sha256:10ff5faaa22786315ef57097a279b833ecab1a0bfb07d604c9cbb1c4cdc2ed87", 276 | "sha256:17ae5cd0f333f94f2e03aaf140bb762c64783935cc764ff9c82dff626089bebf", 277 | "sha256:19488c57c12d4e8095a922f328df3f179c820c212940a498623ed39160bc3c2f", 278 | "sha256:1a0848b52815006ea6596c395f87449f693dc419061cc21e970f139d466dc0a0", 279 | "sha256:1e78fb68cf9c1a6aa4a9a12e960a5c9dfbdb89b3695197aa7064705662515de2", 280 | "sha256:261b9f5d17cac914531331ff1b1d452125bf5daa05faf73b71d935485b0c510b", 281 | "sha256:2b8bcf994563466db019fab287ff390fffbfdb4f905fc77bc1c1d604b1c689cc", 282 | "sha256:38461d02d66de17455072c9ba981d35f1d2a73024bee7790ac2f9e361ef1cd0c", 283 | "sha256:490132667476f6781b4c9458298b0c1cddf237488abd228b0b3650e5ecba7467", 284 | "sha256:491e014f5c43656da08958808588cc6c016847b4360e327a62cb308c791bd2d9", 285 | "sha256:515e1abc578dd3b275d6a5114030b1330ba044ffba03f94091842852f806f1c1", 286 | "sha256:556de4430ce324c836789fa4560ca62d1591d2538b8ceb0b4f68fb7b2384a27a", 287 | "sha256:5833593c25ac59ede40ed4de6d67eb42928cca97f26feea219f21d0ed0959b79", 288 | "sha256:6221d84d463fb110bdd7619b69cb43878a11d51cbb9394ae3105d082d5199167", 289 | "sha256:6918d49b1f90821e93069682c06ffde41829c346c66b721e65a5c62b4bab0300", 290 | "sha256:6c38721585f285203e4b4132a352eb3daa19121a035f3182e08e437cface44bf", 291 | "sha256:71932b597f9895f011f47f17d6428252fc728ba2ae6024e13c3398a087c2cdea", 292 | "sha256:7211ef110a9194b6042449431e08c4d80c0481e5891e58d429df5899690511c2", 293 | "sha256:764226ceef3125e53ea2cb275000e309c0aa5464d43bd72abd661e27fffc26ab", 294 | "sha256:7645a8e814a3ee34a89c4a372011dcd817964ce8cb273c8ed6119d706e9613e3", 295 | "sha256:76d4711f6f6d08551a7e9ef28c722f4a50dd0fc204c56b4bcd95c6cc05ce6fbb", 296 | "sha256:7f4f399d28478d1f604c2ff9119907af9726aed73680e5ed1ca634d377abb087", 297 | "sha256:88f7bc0fcca81f985f78dd0fa68d2c75abf8272b1f5c323ea4a01a4d7a614efc", 298 | "sha256:8d0edd6b1c7fb94922bf569c9b092ee187a83f03fb1a63076e7774b60f9481a8", 299 | "sha256:901289d524fdd571be1c7be054f48b1f88ce8dddcbdf1ec698b27d4b8b9e5d62", 300 | "sha256:93ea75c050c5bb3d98016b4ba2497851eadf0ac154d88a67d7a6816206f6fa7f", 301 | "sha256:981b9ab5a0a3178ff413bca62526bb784249421c24ad7381e39d67981be2c326", 302 | "sha256:9ac08e601308e41eb533f232dbf6b7e4cea762f9f84f6357136eed926c15d12c", 303 | "sha256:a02eb8ab2b8f200179b5f62b59757685ae9987996ae549ccf30f983f40602431", 304 | "sha256:a0c6da9aee33ff0b1a451e867da0c1f47408112b3391dd43133838339e410963", 305 | "sha256:a6c8097e01886188e5be3e6b14e94ab365f384736aa1fca6a0b9e35bd4a30bc7", 306 | "sha256:aa384489fefeb62321b238e64c07ef48398fe80f9e1e6afeff22e140e0850eef", 307 | "sha256:ad2a9eb6d9839ae241701d0918f54c51365a51407fd80f6b8289e2dfca977cc3", 308 | "sha256:b206646d176a007466358aa21d85cd8600a415c67c9bd15403336c331a10d956", 309 | "sha256:b826d97e4276750beca7c8f0f1a4938892697a6bcd8ec8217b3312dad6982781", 310 | "sha256:b89ac9768b82205936771f8d2eb3ce88503b1556324c9f903e7156669f521472", 311 | "sha256:bd7bd3b3830247580de99c99ea2a01416dfc3c34471ca1298bccabf86d0ff4dc", 312 | "sha256:bdf1847068c362f16b353163391210269e4f0569a3c166bc6a9f74ccbfc7e839", 313 | "sha256:c11b0746f5d946fecf750428a95f3e9ebe792c1ee3b1e96eeba145dc631a9672", 314 | "sha256:c5374b80521d3d3f2ec5572e05adc94601985cc526fb276d0c8574a6d749f1b3", 315 | "sha256:ca265542ca427bf97aed183c1676e2a9c66942e822b14dc6e5f42e038f92a503", 316 | "sha256:ce31ae3e19f3c902de379cf1323d90c649425b86de7bbdf82871b8a2a0615f3d", 317 | "sha256:ceb6ec0a10c65540421e20ebd29083c50e6d1143278746a4ef6bcf6153171eb8", 318 | "sha256:d081f13b095d74b67d550de04df1c756831f3b83dc9881c38985834387487f1b", 319 | "sha256:d5655a942f5f5d2c9ed93d72148226d75369b4f6952680211972a33e59b1dfdc", 320 | "sha256:d5a32087d720c608f42caed0ef36d2b3ea61a9d09ee59a5142d6070da9041b8f", 321 | "sha256:d6484756b12f40003c6128bfcc3fa9f0d49a687e171186c2d85ec82e3758c559", 322 | "sha256:dd65632acaf0d47608190a71bfe46b209719bf2beb59507db08ccdbe712f969b", 323 | "sha256:de343e75f40e972bae1ef6090267f8260c1446a1695e77096db6cfa25e759a95", 324 | "sha256:e29cda763f752553fa14c68fb2195150bfab22b352572cb36c43c47bedba70eb", 325 | "sha256:e41f3de4df3e80de75845d3e743b3f1c4c8613c3997a912dbf0229fc61a8b963", 326 | "sha256:e66d2a64d44d50d2543405fb183a21f76b3b5fd16f130f5c99187c3fb4e64919", 327 | "sha256:e74b0506fa5aa5598ac6a975a12aa8928cbb58e1f5ac8360792ef15de1aa848f", 328 | "sha256:f0ed05f5079c708fe74bf9027e95125334b6978bf07fd5ab923e9e55e5fbb9d3", 329 | "sha256:f61e2dc5ad442c52b4887f1fdc112f97caeff4d9e6ebe78879364ac59f1663e1", 330 | "sha256:fec520865f42e5c7f050c2a79038897b1c7d1595e907a9e08e3353293ffc948e" 331 | ], 332 | "markers": "python_version >= '3.8'", 333 | "version": "==1.4.0" 334 | }, 335 | "idna": { 336 | "hashes": [ 337 | "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", 338 | "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f" 339 | ], 340 | "markers": "python_version >= '3.5'", 341 | "version": "==3.6" 342 | }, 343 | "ipython": { 344 | "hashes": [ 345 | "sha256:ca6f079bb33457c66e233e4580ebfc4128855b4cf6370dddd73842a9563e8a27", 346 | "sha256:e8267419d72d81955ec1177f8a29aaa90ac80ad647499201119e2f05e99aa397" 347 | ], 348 | "markers": "python_version >= '3.9'", 349 | "version": "==8.18.1" 350 | }, 351 | "jedi": { 352 | "hashes": [ 353 | "sha256:cf0496f3651bc65d7174ac1b7d043eff454892c708a87d1b683e57b569927ffd", 354 | "sha256:e983c654fe5c02867aef4cdfce5a2fbb4a50adc0af145f70504238f18ef5e7e0" 355 | ], 356 | "markers": "python_version >= '3.6'", 357 | "version": "==0.19.1" 358 | }, 359 | "matplotlib-inline": { 360 | "hashes": [ 361 | "sha256:f1f41aab5328aa5aaea9b16d083b128102f8712542f819fe7e6a420ff581b311", 362 | "sha256:f887e5f10ba98e8d2b150ddcf4702c1e5f8b3a20005eb0f74bfdbd360ee6f304" 363 | ], 364 | "markers": "python_version >= '3.5'", 365 | "version": "==0.1.6" 366 | }, 367 | "multidict": { 368 | "hashes": [ 369 | "sha256:01a3a55bd90018c9c080fbb0b9f4891db37d148a0a18722b42f94694f8b6d4c9", 370 | "sha256:0b1a97283e0c85772d613878028fec909f003993e1007eafa715b24b377cb9b8", 371 | "sha256:0dfad7a5a1e39c53ed00d2dd0c2e36aed4650936dc18fd9a1826a5ae1cad6f03", 372 | "sha256:11bdf3f5e1518b24530b8241529d2050014c884cf18b6fc69c0c2b30ca248710", 373 | "sha256:1502e24330eb681bdaa3eb70d6358e818e8e8f908a22a1851dfd4e15bc2f8161", 374 | "sha256:16ab77bbeb596e14212e7bab8429f24c1579234a3a462105cda4a66904998664", 375 | "sha256:16d232d4e5396c2efbbf4f6d4df89bfa905eb0d4dc5b3549d872ab898451f569", 376 | "sha256:21a12c4eb6ddc9952c415f24eef97e3e55ba3af61f67c7bc388dcdec1404a067", 377 | "sha256:27c523fbfbdfd19c6867af7346332b62b586eed663887392cff78d614f9ec313", 378 | "sha256:281af09f488903fde97923c7744bb001a9b23b039a909460d0f14edc7bf59706", 379 | "sha256:33029f5734336aa0d4c0384525da0387ef89148dc7191aae00ca5fb23d7aafc2", 380 | "sha256:3601a3cece3819534b11d4efc1eb76047488fddd0c85a3948099d5da4d504636", 381 | "sha256:3666906492efb76453c0e7b97f2cf459b0682e7402c0489a95484965dbc1da49", 382 | "sha256:36c63aaa167f6c6b04ef2c85704e93af16c11d20de1d133e39de6a0e84582a93", 383 | "sha256:39ff62e7d0f26c248b15e364517a72932a611a9b75f35b45be078d81bdb86603", 384 | "sha256:43644e38f42e3af682690876cff722d301ac585c5b9e1eacc013b7a3f7b696a0", 385 | "sha256:4372381634485bec7e46718edc71528024fcdc6f835baefe517b34a33c731d60", 386 | "sha256:458f37be2d9e4c95e2d8866a851663cbc76e865b78395090786f6cd9b3bbf4f4", 387 | "sha256:45e1ecb0379bfaab5eef059f50115b54571acfbe422a14f668fc8c27ba410e7e", 388 | "sha256:4b9d9e4e2b37daddb5c23ea33a3417901fa7c7b3dee2d855f63ee67a0b21e5b1", 389 | "sha256:4ceef517eca3e03c1cceb22030a3e39cb399ac86bff4e426d4fc6ae49052cc60", 390 | "sha256:4d1a3d7ef5e96b1c9e92f973e43aa5e5b96c659c9bc3124acbbd81b0b9c8a951", 391 | "sha256:4dcbb0906e38440fa3e325df2359ac6cb043df8e58c965bb45f4e406ecb162cc", 392 | "sha256:509eac6cf09c794aa27bcacfd4d62c885cce62bef7b2c3e8b2e49d365b5003fe", 393 | "sha256:52509b5be062d9eafc8170e53026fbc54cf3b32759a23d07fd935fb04fc22d95", 394 | "sha256:52f2dffc8acaba9a2f27174c41c9e57f60b907bb9f096b36b1a1f3be71c6284d", 395 | "sha256:574b7eae1ab267e5f8285f0fe881f17efe4b98c39a40858247720935b893bba8", 396 | "sha256:5979b5632c3e3534e42ca6ff856bb24b2e3071b37861c2c727ce220d80eee9ed", 397 | "sha256:59d43b61c59d82f2effb39a93c48b845efe23a3852d201ed2d24ba830d0b4cf2", 398 | "sha256:5a4dcf02b908c3b8b17a45fb0f15b695bf117a67b76b7ad18b73cf8e92608775", 399 | "sha256:5cad9430ab3e2e4fa4a2ef4450f548768400a2ac635841bc2a56a2052cdbeb87", 400 | "sha256:5fc1b16f586f049820c5c5b17bb4ee7583092fa0d1c4e28b5239181ff9532e0c", 401 | "sha256:62501642008a8b9871ddfccbf83e4222cf8ac0d5aeedf73da36153ef2ec222d2", 402 | "sha256:64bdf1086b6043bf519869678f5f2757f473dee970d7abf6da91ec00acb9cb98", 403 | "sha256:64da238a09d6039e3bd39bb3aee9c21a5e34f28bfa5aa22518581f910ff94af3", 404 | "sha256:666daae833559deb2d609afa4490b85830ab0dfca811a98b70a205621a6109fe", 405 | "sha256:67040058f37a2a51ed8ea8f6b0e6ee5bd78ca67f169ce6122f3e2ec80dfe9b78", 406 | "sha256:6748717bb10339c4760c1e63da040f5f29f5ed6e59d76daee30305894069a660", 407 | "sha256:6b181d8c23da913d4ff585afd1155a0e1194c0b50c54fcfe286f70cdaf2b7176", 408 | "sha256:6ed5f161328b7df384d71b07317f4d8656434e34591f20552c7bcef27b0ab88e", 409 | "sha256:7582a1d1030e15422262de9f58711774e02fa80df0d1578995c76214f6954988", 410 | "sha256:7d18748f2d30f94f498e852c67d61261c643b349b9d2a581131725595c45ec6c", 411 | "sha256:7d6ae9d593ef8641544d6263c7fa6408cc90370c8cb2bbb65f8d43e5b0351d9c", 412 | "sha256:81a4f0b34bd92df3da93315c6a59034df95866014ac08535fc819f043bfd51f0", 413 | "sha256:8316a77808c501004802f9beebde51c9f857054a0c871bd6da8280e718444449", 414 | "sha256:853888594621e6604c978ce2a0444a1e6e70c8d253ab65ba11657659dcc9100f", 415 | "sha256:99b76c052e9f1bc0721f7541e5e8c05db3941eb9ebe7b8553c625ef88d6eefde", 416 | "sha256:a2e4369eb3d47d2034032a26c7a80fcb21a2cb22e1173d761a162f11e562caa5", 417 | "sha256:ab55edc2e84460694295f401215f4a58597f8f7c9466faec545093045476327d", 418 | "sha256:af048912e045a2dc732847d33821a9d84ba553f5c5f028adbd364dd4765092ac", 419 | "sha256:b1a2eeedcead3a41694130495593a559a668f382eee0727352b9a41e1c45759a", 420 | "sha256:b1e8b901e607795ec06c9e42530788c45ac21ef3aaa11dbd0c69de543bfb79a9", 421 | "sha256:b41156839806aecb3641f3208c0dafd3ac7775b9c4c422d82ee2a45c34ba81ca", 422 | "sha256:b692f419760c0e65d060959df05f2a531945af31fda0c8a3b3195d4efd06de11", 423 | "sha256:bc779e9e6f7fda81b3f9aa58e3a6091d49ad528b11ed19f6621408806204ad35", 424 | "sha256:bf6774e60d67a9efe02b3616fee22441d86fab4c6d335f9d2051d19d90a40063", 425 | "sha256:c048099e4c9e9d615545e2001d3d8a4380bd403e1a0578734e0d31703d1b0c0b", 426 | "sha256:c5cb09abb18c1ea940fb99360ea0396f34d46566f157122c92dfa069d3e0e982", 427 | "sha256:cc8e1d0c705233c5dd0c5e6460fbad7827d5d36f310a0fadfd45cc3029762258", 428 | "sha256:d5e3fc56f88cc98ef8139255cf8cd63eb2c586531e43310ff859d6bb3a6b51f1", 429 | "sha256:d6aa0418fcc838522256761b3415822626f866758ee0bc6632c9486b179d0b52", 430 | "sha256:d6c254ba6e45d8e72739281ebc46ea5eb5f101234f3ce171f0e9f5cc86991480", 431 | "sha256:d6d635d5209b82a3492508cf5b365f3446afb65ae7ebd755e70e18f287b0adf7", 432 | "sha256:dcfe792765fab89c365123c81046ad4103fcabbc4f56d1c1997e6715e8015461", 433 | "sha256:ddd3915998d93fbcd2566ddf9cf62cdb35c9e093075f862935573d265cf8f65d", 434 | "sha256:ddff9c4e225a63a5afab9dd15590432c22e8057e1a9a13d28ed128ecf047bbdc", 435 | "sha256:e41b7e2b59679edfa309e8db64fdf22399eec4b0b24694e1b2104fb789207779", 436 | "sha256:e69924bfcdda39b722ef4d9aa762b2dd38e4632b3641b1d9a57ca9cd18f2f83a", 437 | "sha256:ea20853c6dbbb53ed34cb4d080382169b6f4554d394015f1bef35e881bf83547", 438 | "sha256:ee2a1ece51b9b9e7752e742cfb661d2a29e7bcdba2d27e66e28a99f1890e4fa0", 439 | "sha256:eeb6dcc05e911516ae3d1f207d4b0520d07f54484c49dfc294d6e7d63b734171", 440 | "sha256:f70b98cd94886b49d91170ef23ec5c0e8ebb6f242d734ed7ed677b24d50c82cf", 441 | "sha256:fc35cb4676846ef752816d5be2193a1e8367b4c1397b74a565a9d0389c433a1d", 442 | "sha256:ff959bee35038c4624250473988b24f846cbeb2c6639de3602c073f10410ceba" 443 | ], 444 | "markers": "python_version >= '3.7'", 445 | "version": "==6.0.4" 446 | }, 447 | "openai": { 448 | "hashes": [ 449 | "sha256:5b2121d8c0a4350626096fa482306d12e246a83b992530d54fd474f309f2882c", 450 | "sha256:75778ca05759c77dde704985ee16976ba58804212f10e61f44356e68ffb8390e" 451 | ], 452 | "index": "pypi", 453 | "markers": "python_full_version >= '3.7.1'", 454 | "version": "==0.27.5" 455 | }, 456 | "parso": { 457 | "hashes": [ 458 | "sha256:8c07be290bb59f03588915921e29e8a50002acaf2cdc5fa0e0114f91709fafa0", 459 | "sha256:c001d4636cd3aecdaf33cbb40aebb59b094be2a74c556778ef5576c175e19e75" 460 | ], 461 | "markers": "python_version >= '3.6'", 462 | "version": "==0.8.3" 463 | }, 464 | "pexpect": { 465 | "hashes": [ 466 | "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523", 467 | "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f" 468 | ], 469 | "markers": "sys_platform != 'win32'", 470 | "version": "==4.9.0" 471 | }, 472 | "pillow": { 473 | "hashes": [ 474 | "sha256:07999f5834bdc404c442146942a2ecadd1cb6292f5229f4ed3b31e0a108746b1", 475 | "sha256:0852ddb76d85f127c135b6dd1f0bb88dbb9ee990d2cd9aa9e28526c93e794fba", 476 | "sha256:1781a624c229cb35a2ac31cc4a77e28cafc8900733a864870c49bfeedacd106a", 477 | "sha256:1e7723bd90ef94eda669a3c2c19d549874dd5badaeefabefd26053304abe5799", 478 | "sha256:229e2c79c00e85989a34b5981a2b67aa079fd08c903f0aaead522a1d68d79e51", 479 | "sha256:22baf0c3cf0c7f26e82d6e1adf118027afb325e703922c8dfc1d5d0156bb2eeb", 480 | "sha256:252a03f1bdddce077eff2354c3861bf437c892fb1832f75ce813ee94347aa9b5", 481 | "sha256:2dfaaf10b6172697b9bceb9a3bd7b951819d1ca339a5ef294d1f1ac6d7f63270", 482 | "sha256:322724c0032af6692456cd6ed554bb85f8149214d97398bb80613b04e33769f6", 483 | "sha256:35f6e77122a0c0762268216315bf239cf52b88865bba522999dc38f1c52b9b47", 484 | "sha256:375f6e5ee9620a271acb6820b3d1e94ffa8e741c0601db4c0c4d3cb0a9c224bf", 485 | "sha256:3ded42b9ad70e5f1754fb7c2e2d6465a9c842e41d178f262e08b8c85ed8a1d8e", 486 | "sha256:432b975c009cf649420615388561c0ce7cc31ce9b2e374db659ee4f7d57a1f8b", 487 | "sha256:482877592e927fd263028c105b36272398e3e1be3269efda09f6ba21fd83ec66", 488 | "sha256:489f8389261e5ed43ac8ff7b453162af39c3e8abd730af8363587ba64bb2e865", 489 | "sha256:54f7102ad31a3de5666827526e248c3530b3a33539dbda27c6843d19d72644ec", 490 | "sha256:560737e70cb9c6255d6dcba3de6578a9e2ec4b573659943a5e7e4af13f298f5c", 491 | "sha256:5671583eab84af046a397d6d0ba25343c00cd50bce03787948e0fff01d4fd9b1", 492 | "sha256:5ba1b81ee69573fe7124881762bb4cd2e4b6ed9dd28c9c60a632902fe8db8b38", 493 | "sha256:5d4ebf8e1db4441a55c509c4baa7a0587a0210f7cd25fcfe74dbbce7a4bd1906", 494 | "sha256:60037a8db8750e474af7ffc9faa9b5859e6c6d0a50e55c45576bf28be7419705", 495 | "sha256:608488bdcbdb4ba7837461442b90ea6f3079397ddc968c31265c1e056964f1ef", 496 | "sha256:6608ff3bf781eee0cd14d0901a2b9cc3d3834516532e3bd673a0a204dc8615fc", 497 | "sha256:662da1f3f89a302cc22faa9f14a262c2e3951f9dbc9617609a47521c69dd9f8f", 498 | "sha256:7002d0797a3e4193c7cdee3198d7c14f92c0836d6b4a3f3046a64bd1ce8df2bf", 499 | "sha256:763782b2e03e45e2c77d7779875f4432e25121ef002a41829d8868700d119392", 500 | "sha256:77165c4a5e7d5a284f10a6efaa39a0ae8ba839da344f20b111d62cc932fa4e5d", 501 | "sha256:7c9af5a3b406a50e313467e3565fc99929717f780164fe6fbb7704edba0cebbe", 502 | "sha256:7ec6f6ce99dab90b52da21cf0dc519e21095e332ff3b399a357c187b1a5eee32", 503 | "sha256:833b86a98e0ede388fa29363159c9b1a294b0905b5128baf01db683672f230f5", 504 | "sha256:84a6f19ce086c1bf894644b43cd129702f781ba5751ca8572f08aa40ef0ab7b7", 505 | "sha256:8507eda3cd0608a1f94f58c64817e83ec12fa93a9436938b191b80d9e4c0fc44", 506 | "sha256:85ec677246533e27770b0de5cf0f9d6e4ec0c212a1f89dfc941b64b21226009d", 507 | "sha256:8aca1152d93dcc27dc55395604dcfc55bed5f25ef4c98716a928bacba90d33a3", 508 | "sha256:8d935f924bbab8f0a9a28404422da8af4904e36d5c33fc6f677e4c4485515625", 509 | "sha256:8f36397bf3f7d7c6a3abdea815ecf6fd14e7fcd4418ab24bae01008d8d8ca15e", 510 | "sha256:91ec6fe47b5eb5a9968c79ad9ed78c342b1f97a091677ba0e012701add857829", 511 | "sha256:965e4a05ef364e7b973dd17fc765f42233415974d773e82144c9bbaaaea5d089", 512 | "sha256:96e88745a55b88a7c64fa49bceff363a1a27d9a64e04019c2281049444a571e3", 513 | "sha256:99eb6cafb6ba90e436684e08dad8be1637efb71c4f2180ee6b8f940739406e78", 514 | "sha256:9adf58f5d64e474bed00d69bcd86ec4bcaa4123bfa70a65ce72e424bfb88ed96", 515 | "sha256:9b1af95c3a967bf1da94f253e56b6286b50af23392a886720f563c547e48e964", 516 | "sha256:a0aa9417994d91301056f3d0038af1199eb7adc86e646a36b9e050b06f526597", 517 | "sha256:a0f9bb6c80e6efcde93ffc51256d5cfb2155ff8f78292f074f60f9e70b942d99", 518 | "sha256:a127ae76092974abfbfa38ca2d12cbeddcdeac0fb71f9627cc1135bedaf9d51a", 519 | "sha256:aaf305d6d40bd9632198c766fb64f0c1a83ca5b667f16c1e79e1661ab5060140", 520 | "sha256:aca1c196f407ec7cf04dcbb15d19a43c507a81f7ffc45b690899d6a76ac9fda7", 521 | "sha256:ace6ca218308447b9077c14ea4ef381ba0b67ee78d64046b3f19cf4e1139ad16", 522 | "sha256:b416f03d37d27290cb93597335a2f85ed446731200705b22bb927405320de903", 523 | "sha256:bf548479d336726d7a0eceb6e767e179fbde37833ae42794602631a070d630f1", 524 | "sha256:c1170d6b195555644f0616fd6ed929dfcf6333b8675fcca044ae5ab110ded296", 525 | "sha256:c380b27d041209b849ed246b111b7c166ba36d7933ec6e41175fd15ab9eb1572", 526 | "sha256:c446d2245ba29820d405315083d55299a796695d747efceb5717a8b450324115", 527 | "sha256:c830a02caeb789633863b466b9de10c015bded434deb3ec87c768e53752ad22a", 528 | "sha256:cb841572862f629b99725ebaec3287fc6d275be9b14443ea746c1dd325053cbd", 529 | "sha256:cfa4561277f677ecf651e2b22dc43e8f5368b74a25a8f7d1d4a3a243e573f2d4", 530 | "sha256:cfcc2c53c06f2ccb8976fb5c71d448bdd0a07d26d8e07e321c103416444c7ad1", 531 | "sha256:d3c6b54e304c60c4181da1c9dadf83e4a54fd266a99c70ba646a9baa626819eb", 532 | "sha256:d3d403753c9d5adc04d4694d35cf0391f0f3d57c8e0030aac09d7678fa8030aa", 533 | "sha256:d9c206c29b46cfd343ea7cdfe1232443072bbb270d6a46f59c259460db76779a", 534 | "sha256:e49eb4e95ff6fd7c0c402508894b1ef0e01b99a44320ba7d8ecbabefddcc5569", 535 | "sha256:f8286396b351785801a976b1e85ea88e937712ee2c3ac653710a4a57a8da5d9c", 536 | "sha256:f8fc330c3370a81bbf3f88557097d1ea26cd8b019d6433aa59f71195f5ddebbf", 537 | "sha256:fbd359831c1657d69bb81f0db962905ee05e5e9451913b18b831febfe0519082", 538 | "sha256:fe7e1c262d3392afcf5071df9afa574544f28eac825284596ac6db56e6d11062", 539 | "sha256:fed1e1cf6a42577953abbe8e6cf2fe2f566daebde7c34724ec8803c4c0cda579" 540 | ], 541 | "index": "pypi", 542 | "markers": "python_version >= '3.7'", 543 | "version": "==9.5.0" 544 | }, 545 | "prompt-toolkit": { 546 | "hashes": [ 547 | "sha256:941367d97fc815548822aa26c2a269fdc4eb21e9ec05fc5d447cf09bad5d75f0", 548 | "sha256:f36fe301fafb7470e86aaf90f036eef600a3210be4decf461a5b1ca8403d3cb2" 549 | ], 550 | "markers": "python_full_version >= '3.7.0'", 551 | "version": "==3.0.41" 552 | }, 553 | "ptyprocess": { 554 | "hashes": [ 555 | "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35", 556 | "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220" 557 | ], 558 | "version": "==0.7.0" 559 | }, 560 | "pure-eval": { 561 | "hashes": [ 562 | "sha256:01eaab343580944bc56080ebe0a674b39ec44a945e6d09ba7db3cb8cec289350", 563 | "sha256:2b45320af6dfaa1750f543d714b6d1c520a1688dec6fd24d339063ce0aaa9ac3" 564 | ], 565 | "version": "==0.2.2" 566 | }, 567 | "pydantic": { 568 | "hashes": [ 569 | "sha256:01aea3a42c13f2602b7ecbbea484a98169fb568ebd9e247593ea05f01b884b2e", 570 | "sha256:0cd181f1d0b1d00e2b705f1bf1ac7799a2d938cce3376b8007df62b29be3c2c6", 571 | "sha256:10a86d8c8db68086f1e30a530f7d5f83eb0685e632e411dbbcf2d5c0150e8dcd", 572 | "sha256:193924c563fae6ddcb71d3f06fa153866423ac1b793a47936656e806b64e24ca", 573 | "sha256:464855a7ff7f2cc2cf537ecc421291b9132aa9c79aef44e917ad711b4a93163b", 574 | "sha256:516f1ed9bc2406a0467dd777afc636c7091d71f214d5e413d64fef45174cfc7a", 575 | "sha256:6434b49c0b03a51021ade5c4daa7d70c98f7a79e95b551201fff682fc1661245", 576 | "sha256:64d34ab766fa056df49013bb6e79921a0265204c071984e75a09cbceacbbdd5d", 577 | "sha256:670bb4683ad1e48b0ecb06f0cfe2178dcf74ff27921cdf1606e527d2617a81ee", 578 | "sha256:68792151e174a4aa9e9fc1b4e653e65a354a2fa0fed169f7b3d09902ad2cb6f1", 579 | "sha256:701daea9ffe9d26f97b52f1d157e0d4121644f0fcf80b443248434958fd03dc3", 580 | "sha256:7d45fc99d64af9aaf7e308054a0067fdcd87ffe974f2442312372dfa66e1001d", 581 | "sha256:80b1fab4deb08a8292d15e43a6edccdffa5377a36a4597bb545b93e79c5ff0a5", 582 | "sha256:82dffb306dd20bd5268fd6379bc4bfe75242a9c2b79fec58e1041fbbdb1f7914", 583 | "sha256:8c7f51861d73e8b9ddcb9916ae7ac39fb52761d9ea0df41128e81e2ba42886cd", 584 | "sha256:950ce33857841f9a337ce07ddf46bc84e1c4946d2a3bba18f8280297157a3fd1", 585 | "sha256:976cae77ba6a49d80f461fd8bba183ff7ba79f44aa5cfa82f1346b5626542f8e", 586 | "sha256:9f6f0fd68d73257ad6685419478c5aece46432f4bdd8d32c7345f1986496171e", 587 | "sha256:a7cd2251439988b413cb0a985c4ed82b6c6aac382dbaff53ae03c4b23a70e80a", 588 | "sha256:abfb7d4a7cd5cc4e1d1887c43503a7c5dd608eadf8bc615413fc498d3e4645cd", 589 | "sha256:ae150a63564929c675d7f2303008d88426a0add46efd76c3fc797cd71cb1b46f", 590 | "sha256:b0f85904f73161817b80781cc150f8b906d521fa11e3cdabae19a581c3606209", 591 | "sha256:b4a849d10f211389502059c33332e91327bc154acc1845f375a99eca3afa802d", 592 | "sha256:c15582f9055fbc1bfe50266a19771bbbef33dd28c45e78afbe1996fd70966c2a", 593 | "sha256:c230c0d8a322276d6e7b88c3f7ce885f9ed16e0910354510e0bae84d54991143", 594 | "sha256:cc1dde4e50a5fc1336ee0581c1612215bc64ed6d28d2c7c6f25d2fe3e7c3e918", 595 | "sha256:cf135c46099ff3f919d2150a948ce94b9ce545598ef2c6c7bf55dca98a304b52", 596 | "sha256:cfc83c0678b6ba51b0532bea66860617c4cd4251ecf76e9846fa5a9f3454e97e", 597 | "sha256:d2a5ebb48958754d386195fe9e9c5106f11275867051bf017a8059410e9abf1f", 598 | "sha256:d71e69699498b020ea198468e2480a2f1e7433e32a3a99760058c6520e2bea7e", 599 | "sha256:d75ae19d2a3dbb146b6f324031c24f8a3f52ff5d6a9f22f0683694b3afcb16fb", 600 | "sha256:dfe2507b8ef209da71b6fb5f4e597b50c5a34b78d7e857c4f8f3115effaef5fe", 601 | "sha256:e0cfe895a504c060e5d36b287ee696e2fdad02d89e0d895f83037245218a87fe", 602 | "sha256:e79e999e539872e903767c417c897e729e015872040e56b96e67968c3b918b2d", 603 | "sha256:ecbbc51391248116c0a055899e6c3e7ffbb11fb5e2a4cd6f2d0b93272118a209", 604 | "sha256:f4a2b50e2b03d5776e7f21af73e2070e1b5c0d0df255a827e7c632962f8315af" 605 | ], 606 | "index": "pypi", 607 | "markers": "python_version >= '3.7'", 608 | "version": "==1.10.7" 609 | }, 610 | "pydub": { 611 | "hashes": [ 612 | "sha256:65617e33033874b59d87db603aa1ed450633288aefead953b30bded59cb599a6", 613 | "sha256:980a33ce9949cab2a569606b65674d748ecbca4f0796887fd6f46173a7b0d30f" 614 | ], 615 | "index": "pypi", 616 | "version": "==0.25.1" 617 | }, 618 | "pygments": { 619 | "hashes": [ 620 | "sha256:b27c2826c47d0f3219f29554824c30c5e8945175d888647acd804ddd04af846c", 621 | "sha256:da46cec9fd2de5be3a8a784f434e4c4ab670b4ff54d605c4c2717e9d49c4c367" 622 | ], 623 | "markers": "python_version >= '3.7'", 624 | "version": "==2.17.2" 625 | }, 626 | "requests": { 627 | "hashes": [ 628 | "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f", 629 | "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1" 630 | ], 631 | "markers": "python_version >= '3.7'", 632 | "version": "==2.31.0" 633 | }, 634 | "six": { 635 | "hashes": [ 636 | "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", 637 | "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" 638 | ], 639 | "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", 640 | "version": "==1.16.0" 641 | }, 642 | "stack-data": { 643 | "hashes": [ 644 | "sha256:836a778de4fec4dcd1dcd89ed8abff8a221f58308462e1c4aa2a3cf30148f0b9", 645 | "sha256:d5558e0c25a4cb0853cddad3d77da9891a08cb85dd9f9f91b9f8cd66e511e695" 646 | ], 647 | "version": "==0.6.3" 648 | }, 649 | "tqdm": { 650 | "hashes": [ 651 | "sha256:d302b3c5b53d47bce91fea46679d9c3c6508cf6332229aa1e7d8653723793386", 652 | "sha256:d88e651f9db8d8551a62556d3cff9e3034274ca5d66e93197cf2490e2dcb69c7" 653 | ], 654 | "markers": "python_version >= '3.7'", 655 | "version": "==4.66.1" 656 | }, 657 | "traitlets": { 658 | "hashes": [ 659 | "sha256:9b232b9430c8f57288c1024b34a8f0251ddcc47268927367a0dd3eeaca40deb5", 660 | "sha256:baf991e61542da48fe8aef8b779a9ea0aa38d8a54166ee250d5af5ecf4486619" 661 | ], 662 | "markers": "python_version >= '3.8'", 663 | "version": "==5.13.0" 664 | }, 665 | "typing-extensions": { 666 | "hashes": [ 667 | "sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0", 668 | "sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef" 669 | ], 670 | "markers": "python_version >= '3.8'", 671 | "version": "==4.8.0" 672 | }, 673 | "urllib3": { 674 | "hashes": [ 675 | "sha256:8a388717b9476f934a21484e8c8e61875ab60644d29b9b39e11e4b9dc1c6b305", 676 | "sha256:aa751d169e23c7479ce47a0cb0da579e3ede798f994f5816a74e4f4500dcea42" 677 | ], 678 | "index": "pypi", 679 | "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'", 680 | "version": "==1.26.15" 681 | }, 682 | "wcwidth": { 683 | "hashes": [ 684 | "sha256:f01c104efdf57971bcb756f054dd58ddec5204dd15fa31d6503ea57947d97c02", 685 | "sha256:f26ec43d96c8cbfed76a5075dac87680124fa84e0855195a6184da9c187f133c" 686 | ], 687 | "version": "==0.2.12" 688 | }, 689 | "yarl": { 690 | "hashes": [ 691 | "sha256:09c19e5f4404574fcfb736efecf75844ffe8610606f3fccc35a1515b8b6712c4", 692 | "sha256:0ab5baaea8450f4a3e241ef17e3d129b2143e38a685036b075976b9c415ea3eb", 693 | "sha256:0d155a092bf0ebf4a9f6f3b7a650dc5d9a5bbb585ef83a52ed36ba46f55cc39d", 694 | "sha256:126638ab961633f0940a06e1c9d59919003ef212a15869708dcb7305f91a6732", 695 | "sha256:1a0a4f3aaa18580038cfa52a7183c8ffbbe7d727fe581300817efc1e96d1b0e9", 696 | "sha256:1d93461e2cf76c4796355494f15ffcb50a3c198cc2d601ad8d6a96219a10c363", 697 | "sha256:26a1a8443091c7fbc17b84a0d9f38de34b8423b459fb853e6c8cdfab0eacf613", 698 | "sha256:271d63396460b6607b588555ea27a1a02b717ca2e3f2cf53bdde4013d7790929", 699 | "sha256:28a108cb92ce6cf867690a962372996ca332d8cda0210c5ad487fe996e76b8bb", 700 | "sha256:29beac86f33d6c7ab1d79bd0213aa7aed2d2f555386856bb3056d5fdd9dab279", 701 | "sha256:2c757f64afe53a422e45e3e399e1e3cf82b7a2f244796ce80d8ca53e16a49b9f", 702 | "sha256:2dad8166d41ebd1f76ce107cf6a31e39801aee3844a54a90af23278b072f1ccf", 703 | "sha256:2dc72e891672343b99db6d497024bf8b985537ad6c393359dc5227ef653b2f17", 704 | "sha256:2f3c8822bc8fb4a347a192dd6a28a25d7f0ea3262e826d7d4ef9cc99cd06d07e", 705 | "sha256:32435d134414e01d937cd9d6cc56e8413a8d4741dea36af5840c7750f04d16ab", 706 | "sha256:3cfa4dbe17b2e6fca1414e9c3bcc216f6930cb18ea7646e7d0d52792ac196808", 707 | "sha256:3d5434b34100b504aabae75f0622ebb85defffe7b64ad8f52b8b30ec6ef6e4b9", 708 | "sha256:4003f380dac50328c85e85416aca6985536812c082387255c35292cb4b41707e", 709 | "sha256:44e91a669c43f03964f672c5a234ae0d7a4d49c9b85d1baa93dec28afa28ffbd", 710 | "sha256:4a14907b597ec55740f63e52d7fee0e9ee09d5b9d57a4f399a7423268e457b57", 711 | "sha256:4ce77d289f8d40905c054b63f29851ecbfd026ef4ba5c371a158cfe6f623663e", 712 | "sha256:4d6d74a97e898c1c2df80339aa423234ad9ea2052f66366cef1e80448798c13d", 713 | "sha256:51382c72dd5377861b573bd55dcf680df54cea84147c8648b15ac507fbef984d", 714 | "sha256:525cd69eff44833b01f8ef39aa33a9cc53a99ff7f9d76a6ef6a9fb758f54d0ff", 715 | "sha256:53ec65f7eee8655bebb1f6f1607760d123c3c115a324b443df4f916383482a67", 716 | "sha256:5f74b015c99a5eac5ae589de27a1201418a5d9d460e89ccb3366015c6153e60a", 717 | "sha256:6280353940f7e5e2efaaabd686193e61351e966cc02f401761c4d87f48c89ea4", 718 | "sha256:632c7aeb99df718765adf58eacb9acb9cbc555e075da849c1378ef4d18bf536a", 719 | "sha256:6465d36381af057d0fab4e0f24ef0e80ba61f03fe43e6eeccbe0056e74aadc70", 720 | "sha256:66a6dbf6ca7d2db03cc61cafe1ee6be838ce0fbc97781881a22a58a7c5efef42", 721 | "sha256:6d350388ba1129bc867c6af1cd17da2b197dff0d2801036d2d7d83c2d771a682", 722 | "sha256:7217234b10c64b52cc39a8d82550342ae2e45be34f5bff02b890b8c452eb48d7", 723 | "sha256:721ee3fc292f0d069a04016ef2c3a25595d48c5b8ddc6029be46f6158d129c92", 724 | "sha256:72a57b41a0920b9a220125081c1e191b88a4cdec13bf9d0649e382a822705c65", 725 | "sha256:73cc83f918b69110813a7d95024266072d987b903a623ecae673d1e71579d566", 726 | "sha256:778df71c8d0c8c9f1b378624b26431ca80041660d7be7c3f724b2c7a6e65d0d6", 727 | "sha256:79e1df60f7c2b148722fb6cafebffe1acd95fd8b5fd77795f56247edaf326752", 728 | "sha256:7c86d0d0919952d05df880a1889a4f0aeb6868e98961c090e335671dea5c0361", 729 | "sha256:7eaf13af79950142ab2bbb8362f8d8d935be9aaf8df1df89c86c3231e4ff238a", 730 | "sha256:828235a2a169160ee73a2fcfb8a000709edf09d7511fccf203465c3d5acc59e4", 731 | "sha256:8535e111a064f3bdd94c0ed443105934d6f005adad68dd13ce50a488a0ad1bf3", 732 | "sha256:88d2c3cc4b2f46d1ba73d81c51ec0e486f59cc51165ea4f789677f91a303a9a7", 733 | "sha256:8a2538806be846ea25e90c28786136932ec385c7ff3bc1148e45125984783dc6", 734 | "sha256:8dab30b21bd6fb17c3f4684868c7e6a9e8468078db00f599fb1c14e324b10fca", 735 | "sha256:8f18a7832ff85dfcd77871fe677b169b1bc60c021978c90c3bb14f727596e0ae", 736 | "sha256:946db4511b2d815979d733ac6a961f47e20a29c297be0d55b6d4b77ee4b298f6", 737 | "sha256:96758e56dceb8a70f8a5cff1e452daaeff07d1cc9f11e9b0c951330f0a2396a7", 738 | "sha256:9a172c3d5447b7da1680a1a2d6ecdf6f87a319d21d52729f45ec938a7006d5d8", 739 | "sha256:9a5211de242754b5e612557bca701f39f8b1a9408dff73c6db623f22d20f470e", 740 | "sha256:9df9a0d4c5624790a0dea2e02e3b1b3c69aed14bcb8650e19606d9df3719e87d", 741 | "sha256:aa4643635f26052401750bd54db911b6342eb1a9ac3e74f0f8b58a25d61dfe41", 742 | "sha256:aed37db837ecb5962469fad448aaae0f0ee94ffce2062cf2eb9aed13328b5196", 743 | "sha256:af52725c7c39b0ee655befbbab5b9a1b209e01bb39128dce0db226a10014aacc", 744 | "sha256:b0b8c06afcf2bac5a50b37f64efbde978b7f9dc88842ce9729c020dc71fae4ce", 745 | "sha256:b61e64b06c3640feab73fa4ff9cb64bd8182de52e5dc13038e01cfe674ebc321", 746 | "sha256:b7831566595fe88ba17ea80e4b61c0eb599f84c85acaa14bf04dd90319a45b90", 747 | "sha256:b8bc5b87a65a4e64bc83385c05145ea901b613d0d3a434d434b55511b6ab0067", 748 | "sha256:b8d51817cf4b8d545963ec65ff06c1b92e5765aa98831678d0e2240b6e9fd281", 749 | "sha256:b9f9cafaf031c34d95c1528c16b2fa07b710e6056b3c4e2e34e9317072da5d1a", 750 | "sha256:bb72d2a94481e7dc7a0c522673db288f31849800d6ce2435317376a345728225", 751 | "sha256:c25ec06e4241e162f5d1f57c370f4078797ade95c9208bd0c60f484834f09c96", 752 | "sha256:c405d482c320a88ab53dcbd98d6d6f32ada074f2d965d6e9bf2d823158fa97de", 753 | "sha256:c4472fe53ebf541113e533971bd8c32728debc4c6d8cc177f2bff31d011ec17e", 754 | "sha256:c4b1efb11a8acd13246ffb0bee888dd0e8eb057f8bf30112e3e21e421eb82d4a", 755 | "sha256:c5f3faeb8100a43adf3e7925d556801d14b5816a0ac9e75e22948e787feec642", 756 | "sha256:c6f034386e5550b5dc8ded90b5e2ff7db21f0f5c7de37b6efc5dac046eb19c10", 757 | "sha256:c99ddaddb2fbe04953b84d1651149a0d85214780e4d0ee824e610ab549d98d92", 758 | "sha256:ca6b66f69e30f6e180d52f14d91ac854b8119553b524e0e28d5291a724f0f423", 759 | "sha256:cccdc02e46d2bd7cb5f38f8cc3d9db0d24951abd082b2f242c9e9f59c0ab2af3", 760 | "sha256:cd49a908cb6d387fc26acee8b7d9fcc9bbf8e1aca890c0b2fdfd706057546080", 761 | "sha256:cf7a4e8de7f1092829caef66fd90eaf3710bc5efd322a816d5677b7664893c93", 762 | "sha256:cfd77e8e5cafba3fb584e0f4b935a59216f352b73d4987be3af51f43a862c403", 763 | "sha256:d34c4f80956227f2686ddea5b3585e109c2733e2d4ef12eb1b8b4e84f09a2ab6", 764 | "sha256:d61a0ca95503867d4d627517bcfdc28a8468c3f1b0b06c626f30dd759d3999fd", 765 | "sha256:d81657b23e0edb84b37167e98aefb04ae16cbc5352770057893bd222cdc6e45f", 766 | "sha256:d92d897cb4b4bf915fbeb5e604c7911021a8456f0964f3b8ebbe7f9188b9eabb", 767 | "sha256:dd318e6b75ca80bff0b22b302f83a8ee41c62b8ac662ddb49f67ec97e799885d", 768 | "sha256:dd952b9c64f3b21aedd09b8fe958e4931864dba69926d8a90c90d36ac4e28c9a", 769 | "sha256:e0e7e83f31e23c5d00ff618045ddc5e916f9e613d33c5a5823bc0b0a0feb522f", 770 | "sha256:e0f17d1df951336a02afc8270c03c0c6e60d1f9996fcbd43a4ce6be81de0bd9d", 771 | "sha256:e2a16ef5fa2382af83bef4a18c1b3bcb4284c4732906aa69422cf09df9c59f1f", 772 | "sha256:e36021db54b8a0475805acc1d6c4bca5d9f52c3825ad29ae2d398a9d530ddb88", 773 | "sha256:e73db54c967eb75037c178a54445c5a4e7461b5203b27c45ef656a81787c0c1b", 774 | "sha256:e741bd48e6a417bdfbae02e088f60018286d6c141639359fb8df017a3b69415a", 775 | "sha256:f7271d6bd8838c49ba8ae647fc06469137e1c161a7ef97d778b72904d9b68696", 776 | "sha256:fc391e3941045fd0987c77484b2799adffd08e4b6735c4ee5f054366a2e1551d", 777 | "sha256:fc94441bcf9cb8c59f51f23193316afefbf3ff858460cb47b5758bf66a14d130", 778 | "sha256:fe34befb8c765b8ce562f0200afda3578f8abb159c76de3ab354c80b72244c41", 779 | "sha256:fe8080b4f25dfc44a86bedd14bc4f9d469dfc6456e6f3c5d9077e81a5fedfba7", 780 | "sha256:ff34cb09a332832d1cf38acd0f604c068665192c6107a439a92abfd8acf90fe2" 781 | ], 782 | "markers": "python_version >= '3.7'", 783 | "version": "==1.9.3" 784 | } 785 | }, 786 | "develop": {} 787 | } 788 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Simple Ai Video Generator (PoC) 2 | 3 | ^^ The amazing Dalle-2 API /s 4 | 5 | ## Output Example: 6 | A demo output video generated by this project can be found here: 7 | - On Vimeo: https://vimeo.com/855961539 8 | - In this repository: `demo_output/video.mp4` 9 | 10 | ## How to run: 11 | - Install ffmpeg: https://ffmpeg.org/download.html 12 | (or, you can probably install it as a package: `brew install ffmpeg`, `apt install ffmpeg`, etc.) 13 | - Install Pip Environemnt: `pipenv install && pipenv shell` 14 | - Install Gemfile: `gem install bundler && bundle install` 15 | - Set OpenAI API Key: `export OPENAI_API_KEY=` 16 | - Set Elevenlabs API Key: `export ELEVEN_API_KEY=` 17 | - In `./src/main.py` (bottom): set the channel name, the desired topic, voice name, and the destination dir. 18 | - Run `./src/main.py` 19 | 20 | ## PoC development: 21 | - [x] GPT-turbo to generate video script and captions 22 | - [x] Generate images with Dalle2 (or something much better if possible) 23 | - [x] Elevenlabs api to generate narration 24 | - [x] Get length of mp3 speech 25 | - [x] Calculate time of each slide (equal times for now) 26 | - [x] Generate output mp4 video 27 | - [ ] Background music 28 | - TBD 29 | 30 | ## Known issues: 31 | - QuickTime Player on MacOS plays the audio incorrectly after a few seconds of playback. There is no problem with the video and it's audio, it's an issue with this specific player. The video can be uploaded without issues to YouTube and played with other players. 32 | 33 | ## Contribution: 34 | Feel free to fork, suggest ideas, report issues, and give general constructive feedback. 35 | 36 | `^(;,;)^` 37 | -------------------------------------------------------------------------------- /cat_playing_cards_dalle_test.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/cat_playing_cards_dalle_test.jpg -------------------------------------------------------------------------------- /demo_output/awesome_voice.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/demo_output/awesome_voice.mp3 -------------------------------------------------------------------------------- /demo_output/caption_0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/demo_output/caption_0.jpg -------------------------------------------------------------------------------- /demo_output/caption_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/demo_output/caption_1.jpg -------------------------------------------------------------------------------- /demo_output/caption_10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/demo_output/caption_10.jpg -------------------------------------------------------------------------------- /demo_output/caption_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/demo_output/caption_2.jpg -------------------------------------------------------------------------------- /demo_output/caption_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/demo_output/caption_3.jpg -------------------------------------------------------------------------------- /demo_output/caption_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/demo_output/caption_4.jpg -------------------------------------------------------------------------------- /demo_output/caption_5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/demo_output/caption_5.jpg -------------------------------------------------------------------------------- /demo_output/caption_6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/demo_output/caption_6.jpg -------------------------------------------------------------------------------- /demo_output/caption_7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/demo_output/caption_7.jpg -------------------------------------------------------------------------------- /demo_output/caption_8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/demo_output/caption_8.jpg -------------------------------------------------------------------------------- /demo_output/caption_9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/demo_output/caption_9.jpg -------------------------------------------------------------------------------- /demo_output/video.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eldare/Simple_Ai_Video_Generator/149cfdc9ece7dfe8b170149197837f6ce24f8bf8/demo_output/video.mp4 -------------------------------------------------------------------------------- /src/captions_generator.py: -------------------------------------------------------------------------------- 1 | # 2 | # captions_generator.py 3 | # 4 | # Created by Eldar Eliav on 2023/05/13. 5 | # 6 | 7 | from os import path 8 | from PIL import Image 9 | from dalle2_image_generator import Dalle2ImageGenerator 10 | 11 | # TODO - speed this up by making all requests in parallel 12 | 13 | # TODO - retry if network fails 14 | 15 | class CaptionsGenerator: 16 | # api memthods 17 | def generate_captions( 18 | self, 19 | captions_string: str, 20 | destination_dir: str, 21 | is_crop_to_ratio_16_9: bool = False 22 | ) -> list[str]: 23 | # returns a list of paths to the generated images 24 | list_of_created_image_files: list[str] = [] 25 | captions_list = self._convert_string_into_list(captions_string) 26 | image_generator = Dalle2ImageGenerator() 27 | for index, caption in enumerate(captions_list): 28 | image_file_path = path.join(destination_dir, f"caption_{index}.jpg") 29 | try: 30 | image_generator.generate_image_and_download( 31 | image_file_destination_with_extension = image_file_path, 32 | prompt = caption 33 | ) 34 | if is_crop_to_ratio_16_9: 35 | self._crop_image_to_ratio_16_9(image_file_path, image_file_path) 36 | list_of_created_image_files.append(image_file_path) 37 | except Exception as error: 38 | print(f"skiping {image_file_path} - {error}") 39 | return list_of_created_image_files 40 | 41 | # private methods 42 | def _convert_string_into_list(self, captions_string: str) -> list[str]: 43 | captions_list = [caption.strip() for caption in captions_string.strip().split('\n') if caption] 44 | return [caption.strip() for caption in captions_list] 45 | 46 | def _crop_image_to_ratio_16_9(self, source_image_file_path: str, destination_image_file_path: str): 47 | image = Image.open(source_image_file_path) 48 | width, height = image.size 49 | 50 | total_to_crop = height - (height * 9/16) 51 | top = int(total_to_crop * 1/4) 52 | bottom = int(height - total_to_crop * 3/4) 53 | 54 | cropped_image = image.crop((0, top, width, bottom)) 55 | cropped_image.save(destination_image_file_path) 56 | -------------------------------------------------------------------------------- /src/chat_gpt_session.py: -------------------------------------------------------------------------------- 1 | # 2 | # chat_gpt_session.py 3 | # 4 | # Created by Eldar Eliav on 2023/05/11. 5 | # 6 | 7 | import openai 8 | 9 | class ChatGPTSession: 10 | # private properties 11 | _chat_session = openai.ChatCompletion() 12 | _chat_log = [] 13 | 14 | # init 15 | def __init__(self, system_message: str): 16 | self._set_system_message(system_message) 17 | 18 | # api methods 19 | def ask(self, question: str) -> str: 20 | self._chat_log.append({ 21 | 'role': 'user', 22 | 'content': question 23 | }) 24 | response = self._chat_session.create( 25 | model = 'gpt-3.5-turbo', 26 | messages = self._chat_log 27 | ) 28 | answer = response.choices[0]['message']['content'] 29 | self._chat_log.append({ 30 | 'role': 'assistant', 31 | 'content': answer 32 | }) 33 | return answer 34 | 35 | def get_last_answer(self) -> str: 36 | for entry in self._chat_log[::-1]: 37 | if entry['role'] == 'user': 38 | return entry['content'] 39 | return None 40 | 41 | # private methods 42 | def _set_system_message(self, message: str): 43 | self._chat_log = [{ 44 | 'role': 'system', 45 | 'content': message 46 | }] 47 | -------------------------------------------------------------------------------- /src/dalle2_image_generator.py: -------------------------------------------------------------------------------- 1 | # 2 | # dalle2_image_generator.py 3 | # 4 | # Created by Eldar Eliav on 2023/05/11. 5 | # 6 | 7 | import urllib.request 8 | import openai 9 | 10 | class Dalle2ImageGenerator: 11 | class UnsupportedSizeException(Exception): 12 | pass 13 | 14 | def generate_image_and_download( 15 | self, 16 | image_file_destination_with_extension: str, 17 | prompt: str, 18 | size: int = 1024 19 | ): 20 | if size not in [256, 512, 1024]: 21 | raise Dalle2ImageGenerator.UnsupportedSizeException(size) 22 | 23 | response = openai.Image.create( 24 | prompt = prompt, 25 | n = 1, 26 | size = f"{size}x{size}" 27 | ) 28 | 29 | image_url = response['data'][0]['url'] 30 | urllib.request.urlretrieve(image_url, image_file_destination_with_extension) 31 | -------------------------------------------------------------------------------- /src/eleven_labs_voice_generation.py: -------------------------------------------------------------------------------- 1 | # 2 | # eleven_labs_voice_generation.py 3 | # 4 | # Created by Eldar Eliav on 2023/05/11. 5 | # 6 | 7 | from elevenlabs import get_api_key, generate, voices, save 8 | 9 | class ElevenLabsVoiceGeneration: 10 | class MissingAPIKey(Exception): 11 | pass 12 | 13 | def __init__(self): 14 | if get_api_key() is None: 15 | raise self.MissingAPIKey() 16 | voices() # load all available voice from remote, incliding private generated onces 17 | 18 | def generate_audio(self, voice_name: str, text: str) -> bytes: 19 | return generate( 20 | text = text, 21 | voice = voice_name, 22 | model = "eleven_monolingual_v1" 23 | ) 24 | 25 | def generate_audio_and_save(self, voice_name: str, text: str, mp3_file_destination_with_extension: str): 26 | audio = self.generate_audio(voice_name, text) 27 | save(audio, mp3_file_destination_with_extension) 28 | -------------------------------------------------------------------------------- /src/log.py: -------------------------------------------------------------------------------- 1 | # 2 | # log.py 3 | # 4 | # Created by Eldar Eliav on 2023/05/11. 5 | # 6 | 7 | import datetime 8 | import inspect 9 | 10 | class log: # pylint: disable=invalid-name 11 | @staticmethod 12 | def info(text: str): 13 | log._print("INFO", text) 14 | 15 | @staticmethod 16 | def warning(text: str, exception: Exception): 17 | log._print("WARNING", f"{text} (Exception: {exception})") 18 | 19 | @staticmethod 20 | def error(text: str, exception: Exception): 21 | log._print("ERROR", f"{text} (Exception: {exception})") 22 | 23 | @staticmethod 24 | def _print(level: str, text: str): 25 | caller_frame = inspect.stack()[2] 26 | caller_class = caller_frame[0].f_locals.get('self', None).__class__.__name__ 27 | caller_class_line_number = caller_frame[2] 28 | timestamp = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")[:-3] 29 | print(f"{timestamp} {caller_class}:{caller_class_line_number} - [{level}] {text}") 30 | -------------------------------------------------------------------------------- /src/main.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | 3 | # 4 | # main.py 5 | # 6 | # Created by Eldar Eliav on 2023/05/11. 7 | # 8 | 9 | from os import path, makedirs 10 | from log import log 11 | from script_generator import ScriptGenerator 12 | from script_narration import ScriptNarration 13 | from captions_generator import CaptionsGenerator 14 | from video_maker import VideoMaker 15 | 16 | def main(channel_name: str, topic: str, voice_name: str, destination_dir: str): 17 | if not path.exists(destination_dir): 18 | makedirs(destination_dir) 19 | log.info(f"new destination directory created: {destination_dir}") 20 | 21 | log.info("STEP 1 - script") 22 | script, captions, _ = ScriptGenerator().generate( 23 | channel_name, 24 | topic, 25 | is_verbose_print = True 26 | ) 27 | 28 | log.info("STEP 2 - narration") 29 | mp3_file_destination_with_extension = path.join(destination_dir, "awesome_voice.mp3") 30 | ScriptNarration().narrate( 31 | voice_name, 32 | script, 33 | mp3_file_destination_with_extension 34 | ) 35 | 36 | log.info("STEP 3 - captions") 37 | generated_images_path_list = CaptionsGenerator().generate_captions( 38 | captions_string = captions, 39 | destination_dir = destination_dir, 40 | is_crop_to_ratio_16_9 = True 41 | ) 42 | 43 | log.info("STEP 4 - video") 44 | VideoMaker().create_video( 45 | images_list = generated_images_path_list, 46 | mp3_audio_file_path = mp3_file_destination_with_extension, 47 | mp4_file_destination_with_extension = path.join(destination_dir, "video.mp4"), 48 | is_duplicate_images_count_to_improve_smoothness = True 49 | ) 50 | 51 | if __name__ == "__main__": 52 | main( 53 | channel_name = "THE AWESOME YOUTUBE CHANNEL", 54 | topic = "Explore the idea of how awesome it could be if everyone was awesome to one another.", 55 | voice_name = "Adam", 56 | destination_dir = "./demo_output/" 57 | ) 58 | -------------------------------------------------------------------------------- /src/script_generator.py: -------------------------------------------------------------------------------- 1 | # 2 | # script_generator.py 3 | # 4 | # Created by Eldar Eliav on 2023/05/11. 5 | # 6 | 7 | from chat_gpt_session import ChatGPTSession 8 | from log import log 9 | 10 | # TODO - write the output strings to files, destination will be provided from the outside for each file 11 | 12 | class ScriptGenerator: 13 | # init 14 | def __init__(self): 15 | self._session = self._prepare_session() 16 | 17 | # api methods 18 | def generate( 19 | self, 20 | channel_name: str, 21 | topic: str, 22 | is_verbose_print: bool = False 23 | ) -> (str, str, str): 24 | script = self._make_script(topic, channel_name) 25 | captions = self._make_captions() 26 | description = self._make_description() 27 | if is_verbose_print: 28 | log.info(f"SCRIPT:\n{script}") 29 | log.info(f"CAPTIONS:\n{captions}") 30 | log.info(f"DESCRIPTION:\n{description}") 31 | return (script, captions, description) 32 | 33 | # private methods 34 | def _prepare_session(self): 35 | return ChatGPTSession( 36 | """ 37 | You are a professional Youtuber. You know what people like to hear. 38 | You like writing populistic scripts for the average joe to enjoy. 39 | """ 40 | ) 41 | 42 | def _make_script(self, topic: str, channel_name: str) -> str: 43 | return self._session.ask( 44 | f""" 45 | Write a youtube video script according to the following specifications: 46 | 47 | - Script topic to write on: {topic} 48 | - The Script section must start with: Hey there!! And welcome back. Today! on "{channel_name}", we are going to talk about: