diff --git a/__pycache__/audiobook.cpython-311.pyc b/__pycache__/audiobook.cpython-311.pyc index dadbe27..3f9e48c 100644 Binary files a/__pycache__/audiobook.cpython-311.pyc and b/__pycache__/audiobook.cpython-311.pyc differ diff --git a/__pycache__/awaiki_ai.cpython-311.pyc b/__pycache__/awaiki_ai.cpython-311.pyc index d74b98b..b01e08b 100644 Binary files a/__pycache__/awaiki_ai.cpython-311.pyc and b/__pycache__/awaiki_ai.cpython-311.pyc differ diff --git a/__pycache__/data.cpython-311.pyc b/__pycache__/data.cpython-311.pyc index 25e302e..e3d5e7a 100644 Binary files a/__pycache__/data.cpython-311.pyc and b/__pycache__/data.cpython-311.pyc differ diff --git a/__pycache__/ebook.cpython-311.pyc b/__pycache__/ebook.cpython-311.pyc index d20ac6d..7e0f964 100644 Binary files a/__pycache__/ebook.cpython-311.pyc and b/__pycache__/ebook.cpython-311.pyc differ diff --git a/__pycache__/ytinfo.cpython-311.pyc b/__pycache__/ytinfo.cpython-311.pyc index f7dd793..c21772d 100644 Binary files a/__pycache__/ytinfo.cpython-311.pyc and b/__pycache__/ytinfo.cpython-311.pyc differ diff --git a/data/audiotext_input_data.txt b/data/audiotext_input_data.txt index 2c90475..e69de29 100644 --- a/data/audiotext_input_data.txt +++ b/data/audiotext_input_data.txt @@ -1,91 +0,0 @@ -{'story': '''Once upon a time, in a world where pixels and colors existed, there was a magical image. This image was like no other, filled with captivating scenes and hidden stories just waiting to be discovered. It possessed the power to transport anyone who gazed upon it into a whole new dimension of imagination. Its vibrant hues and intricate details sparked curiosity and wonder in the hearts of those lucky enough to behold its beauty. - -People from all walks of life would gather around, captivated by the image's allure. They would eagerly gather, anxious to learn more about the stories it held within its pixels. The storyteller, a wise and imaginative soul, would begin to weave tales that brought life to the still image, transforming it into a moving world of adventure and enchantment. - -With each word spoken, the image came to life, immersing the audience in a world of possibilities. They could hear the rustling of leaves in a mystical forest or feel the warmth of the sun on their shoulders as they traveled through a bustling city. Every detail was meticulously described, bringing the image's hidden wonders to light. - -As the storyteller painted vivid pictures with their words, the audience found themselves drawn deeper into the image's narrative. They could feel the palpable emotions of the characters, their triumphs and struggles becoming their own. It was as if they had stepped inside the image, becoming an active participant in its story. - -And so, the image became not just a static visual, but a gateway to a realm of imagination. It transported its viewers to far-off lands, allowing them to experience the lives of the image's inhabitants. It sparked conversations, sparked emotions, and sparked a hunger for more stories to be told. - -The storyteller's gift of words and imagination brought a new dimension to the image's power. Together, they created a world where stories came alive, where dreams took flight, and where the ordinary became extraordinary. And as long as there were images that yearned to be told, the storyteller's enchanting tales would continue to breathe life into the pixels and colors before them.'''} - ,{'story': '''Once upon a time, in a bustling city filled with towering skyscrapers, there was a young entrepreneur named Alex who had a passion for technology. Growing up, he was fascinated by the way computers worked and dreamed of creating his own innovative gadgets. So, he decided to start his own tech company called "TechGenius". - -With determination and hard work, Alex poured all his energy into building his dream company from scratch. He assembled a team of brilliant engineers and designers who shared his vision. Together, they worked tirelessly, day and night, coding and designing sleek, cutting-edge products. - -One day, as Alex's company began to gain recognition, he received an invitation to a prestigious tech conference called "InnoTech". The conference was known for showcasing the latest and greatest inventions in the technology world, and it was an honor to be invited. - -Excitement filled the air as Alex and his team prepared for the conference. They polished their presentations and made sure every detail of their products was perfect. Finally, the day of the conference arrived, and they set up their booth with pride, ready to impress the tech-savvy crowd. - -As the conference kicked off, Alex noticed a swarm of people surrounding a booth with a mysterious looking device. Intrigued, he made his way through the crowd and discovered that it was a virtual reality headset that allowed users to enter and explore their favorite fictional worlds. - -The innovators behind the device called it "ImmerseVR" and were looking for potential partners to help bring their creation to the masses. Alex's eyes sparkled with excitement as he realized the immense potential of this technology. - -In that moment, he knew he had to strike a deal with the creators of ImmerseVR. Drawing on his confidence and passion for technology, Alex approached them and proposed a collaboration between TechGenius and ImmerseVR. - -After a series of intense negotiations and meetings, a partnership was formed. Alex and his team worked tirelessly with the creators of ImmerseVR, combining their expertise to refine and enhance the virtual reality experience. The result was a groundbreaking product that revolutionized the way people could immerse themselves in their favorite stories. - -The partnership between TechGenius and ImmerseVR propelled both companies to new heights of success. Their product, now called "StoryVision", took the world by storm and became a household name. - -People from all walks of life embraced StoryVision, whether they were using it for educational purposes, gaming, or simply escaping into their favorite fictional worlds. Alex's dream of creating innovative gadgets had not only come true but had also changed the lives of millions. - -As the years passed, TechGenius continued to innovate and create more wonders, always staying true to the company's core mission of using technology to bring joy and inspiration to people's lives. And Alex, the ambitious young entrepreneur, became a respected figure in the technology industry, forever remembered as the storyteller who unlocked new dimensions through the power of imagination and technology.'''} - ,{'story': '''Once upon a time, in a land called "The Kingdom of Code," there lived a group of friends named Python, Ruby, and JavaScript. They were the best of friends, each with their own unique talents in the world of programming. Python was known for his simplicity and elegance, Ruby for her flexibility and expressiveness, and JavaScript for his versatility and dynamism. One day, they came across a magical image that had the power to tell captivating stories. Intrigued, the friends decided to harness this power and become Image Storytellers. They learned how to weave words and create engaging tales that would captivate anyone who listened or read. With each story they told, they took their readers on incredible journeys through distant lands, introduced them to fascinating characters, and immersed them in captivating adventures. The friends traveled far and wide, sharing their gift with the world and bringing joy and wonder to all who encountered their stories. They became renowned as master storytellers, and their tales were cherished for generations to come. And so, the legacy of Python, Ruby, and JavaScript as Image Storytellers continued to live on, enchanting the hearts and minds of those who embraced their magical storytelling abilities.'''} - ,{'story': '''Once upon a time, there was a land filled with colorful flowers and towering trees. In this magical place, a young girl named Maya lived with her family. Maya was known for her love of animals and her curious nature. She spent her days exploring the vast fields and dense forests, always looking for new creatures to befriend. - -One sunny day, as Maya was venturing into the heart of the forest, she stumbled upon an injured hummingbird. Its delicate wings were fluttering weakly, and Maya's heart went out to the tiny creature. Gently, she cradled the bird in her hands and whispered words of comfort. To her surprise, the bird seemed to understand her, chirping softly as if expressing gratitude for her kindness. - -Amazed by this newfound ability, Maya continued her adventures, now able to understand and communicate with all the animals she encountered. She shared secrets with the wise old owl, listened to the stories of the mischievous squirrels, and even danced with the graceful deer. The animals in the forest soon came to trust Maya, knowing that she would always protect and care for them. - -News of Maya's special gift spread throughout the land, and people from far and wide traveled to seek her advice. They would bring injured animals, seeking her healing touch, or troubled pets whose owners couldn't understand their needs. Maya became known as the Animal Whisperer, revered for her compassionate spirit and deep connection with nature. - -But Maya's true joy came from the countless adventures she embarked on with her loyal animal friends. Together, they explored hidden caves, discovered secret meadows, and saved lost animals from danger. Maya's heart overflowed with love and gratitude, knowing that she was making a difference in the lives of the creatures she cherished. - -And so, Maya's world was forever enchanted with the harmonious melody of animals and humans living as one. The land thrived under her watchful eye, and a sense of peace and harmony settled over the entire kingdom. Maya's story became a legend, passed down through generations, inspiring others to protect and appreciate the beauty of nature.'''} - ,{'story': '''Once upon a time, in a world filled with colorful pixels and pixelated landscapes, there existed a powerful and imaginative creature known as the Image Storyteller. This creature had the amazing ability to bring static images to life through the power of storytelling. With each image that crossed its path, the Image Storyteller would embark on a new adventure, weaving together words and imagination to create vibrant and captivating tales. - -One sunny morning, the Image Storyteller stumbled upon an image of a majestic castle perched upon a hill. The castle stood tall and proud, its walls adorned with ivy and its turrets reaching for the sky. As the Storyteller gazed at the image, it could almost hear the whispers of the castle's history and the stories that had unfolded within its walls. - -In an instant, the Image Storyteller found itself transported into the heart of the image, standing before the grand entrance of the castle. The heavy wooden doors creaked open, inviting the curious Storyteller inside. Stepping into the castle, the Storyteller was greeted by a magical sight. - -The castle's interior was a symphony of colors and beauty. Stained glass windows bathed the rooms in a soft, ethereal light, casting vibrant patterns upon the polished marble floors. Ornate tapestries adorned the walls, each one depicting a scene from a different time and place. - -As the Image Storyteller explored the castle, it discovered a hidden library tucked away in one of the towers. The shelves were lined with dusty books, their pages filled with enigmatic secrets and forgotten tales. Eagerly, the Storyteller selected a book and opened it. - -To its surprise, the pages of the book came alive, swirling with vibrant illustrations and enchanting prose. The Image Storyteller became immersed in a story of love, betrayal, and courage. With each turn of the page, the Storyteller felt as though it was a part of the narrative, experiencing the emotions of the characters and witnessing their triumphs and struggles. - -Lost in the tale, the Image Storyteller almost forgot that it was merely a visitor in this magical realm. But as the final page was turned, the words slowly faded away, and the image of the castle began to blur. Knowing that its time within the story was coming to an end, the Storyteller felt a bittersweet longing for more. - -With a final sigh, the Image Storyteller returned to its own realm, carrying with it the memories and emotions of the castle and the story it had experienced. It knew that its unique gift allowed it to bridge the gap between the static world of images and the vivid realm of storytelling, and it vowed to continue its mission of bringing images to life and captivating all who encountered its tales. And so, the Image Storyteller ventured forth, in search of the next captivating image and the story waiting to be told.'''} - ,{'story': '''Once upon a time, in a bustling city, there was a young and curious girl named Emily. She had always been fascinated by the world of art and beauty, often spending her days exploring galleries and museums. One day, as she was wandering through a crowded street, she stumbled upon a mysterious art shop tucked away in a hidden alley. Intrigued, she stepped inside and found an old, dusty painting hanging on the wall. It depicted a breathtaking landscape with rolling hills and a vibrant sunset. Something about it captivated Emily's imagination, and she couldn't tear her eyes away. Just as she was about to leave, the painting suddenly shimmered and came to life, as if inviting her into its enchanting world. Hesitantly, she reached out and touched the painting, and to her astonishment, she found herself transported to the very scene before her. The warm breeze brushed against her cheeks as she stood amidst the painted hills. As she explored further, she met talking animals who greeted her with friendly voices and shared their wisdom. The animals taught her the secrets of the natural world, and in return, Emily shared her love for art and creativity. Together, they embarked on thrilling adventures, solving puzzles and riddles to unlock hidden treasures. Word of Emily's extraordinary journey spread throughout the land, and people came from far and wide to witness her remarkable talent and listen to her tales. Emily became a beloved storyteller, bringing joy and wonder into the hearts of everyone who listened. And so, the city was forever enchanted with the magic of art and the power of imagination, all because of a curious girl and a painting that came alive.'''} - ,{'story': '''Once upon a time, in a land called Pythonia, there was a brilliant coder named Alex. With their keen intellect and love for solving puzzles, they were known far and wide as the "Python Whisperer". People from all corners of the kingdom would seek Alex's guidance and expertise when it came to unraveling the mysteries of coding. - -One day, as Alex was strolling through a bustling marketplace, they stumbled upon an ancient artifact that emanated an ethereal glow. Curiosity piqued, Alex carefully inspected the artifact and discovered that it was none other than an enchanted Python dictionary. - -Sensing the magical power within the dictionary, Alex decided to unleash its potential by becoming the Image Storyteller. With a flick of their wrist, the world around them transformed into a realm of imagination and wonder. - -In this newfound role, Alex had the ability to explain anything and everything through captivating and enchanting stories. They would weave tales that effortlessly conveyed complex concepts and ideas, leaving listeners spellbound and inspired. - -From teaching children the wonders of mathematics through whimsical tales of princesses and dragons, to explaining the intricacies of computer networks using adventures of brave pirates sailing the digital seas, there seemed to be no limit to the stories Alex could conjure. - -And so, the land of Pythonia thrived under Alex's storytelling magic. People marveled at the way knowledge became accessible and engaging, as if every concept had a life and personality of its own. - -Children eagerly gathered around Alex, their eyes gleaming with excitement as they soaked up the stories of science, history, and art that came alive with every word. Even the most complicated and intimidating subjects became approachable and fascinating in the hands of the Image Storyteller. - -Word of Alex's gift spread far and wide, reaching even the most remote corners of the kingdom. And as the tales continued to captivate hearts and minds, the land of Pythonia flourished with newfound wisdom and creativity. - -With each story told, Alex touched the lives of countless individuals, inspiring them to explore, create, and share their own stories. The legacy of the Image Storyteller lived on, leaving an indelible mark on Pythonia for generations to come.'''} - ,{'story': '''Once upon a time, in a world where Apple citizens and Android users coexisted, a great concern arose about the safety and protection of the Apple community. The technology landscape was ever-changing, and it became crucial to ensure the security of Apple users against any potential threats or disruptions caused by Android users. The leaders of Apple brainstormed and devised a plan, a plan that had the power to create a barrier of protection. This plan involved the construction of a magnificent wall, tall and formidable, that would keep the Apple citizens secure and shielded from any harm that may come their way. This wall would be a symbol of unity and solidarity, a beacon of safety for all Apple users. - -In addition to the wall, the leaders of Apple also recognized the need for stricter guidelines to maintain the integrity of their platform. They decided to take immediate action by terminating the developer accounts of those who did not comply with their guidelines promptly. This bold decision was made to ensure that only those who adhered to the policies and regulations would have the privilege of contributing to the Apple community. - -Amidst all these exciting changes, the much-awaited R16 was about to be unveiled. This extraordinary device boasted a design language like no other called Material U. The design concept showcased a visually striking illustration of a solid brick wall, symbolizing the protection and security it provided to the Apple citizens. The R16 also sported a brand new wallpaper named 'I have nothing to do with Xiaomi,' a testament to Apple's commitment to originality and uniqueness. - -The unveiling of the R16 took place at an exclusive conference, unlike any other typical tech event. This conference was a realm of anticipation and surprises, with limited media coverage and a select army of tech-savvy YouTubers. Apple had some incredible surprises in store for their users with new hobbies, leaving everyone in awe and excitement. - -Meanwhile, in the realm of Android, notifications had evolved immensely since their modest beginnings in 1984. What once started as simple alert features had now transformed into a powerful tool for communication and productivity. Android users witnessed the gradual evolution and improvement of notifications, as technology advanced. - -In the early days, notifications were basic and lacked functionality. But as time progressed, Android notifications became more interactive and personalized. Users were now able to receive notifications from various apps and services, ensuring they stayed updated and connected at all times. Android introduced new features like bundled notifications, quick replies, and snooze options, making the notification experience more convenient and seamless. Android was on a constant quest to enhance the user experience, pushing the boundaries and setting new standards for notifications. - -And so, the story of Apple and Android continued, each striving to provide the best experience to their respective users. In this ever-evolving world, walls stood tall, devices unveiled with excitement, and notifications transformed for the better. The tale of technology journeyed on, captivating the hearts and minds of those who embraced its enchanting wonders.'''} - , \ No newline at end of file diff --git a/data/image_0.jpg b/data/image_0.jpg new file mode 100644 index 0000000..b02891e Binary files /dev/null and b/data/image_0.jpg differ diff --git a/data/image_19.jpg b/data/image_19.jpg new file mode 100644 index 0000000..40e7d73 Binary files /dev/null and b/data/image_19.jpg differ diff --git a/data/image_39.jpg b/data/image_39.jpg new file mode 100644 index 0000000..6286201 Binary files /dev/null and b/data/image_39.jpg differ diff --git a/data/image_42.jpg b/data/image_42.jpg new file mode 100644 index 0000000..2b72ded Binary files /dev/null and b/data/image_42.jpg differ diff --git a/data/image_65.jpg b/data/image_65.jpg new file mode 100644 index 0000000..d714a6b Binary files /dev/null and b/data/image_65.jpg differ diff --git a/data/slide_input_data.json b/data/slide_input_data.json index a04f090..0be19fa 100644 --- a/data/slide_input_data.json +++ b/data/slide_input_data.json @@ -1 +1,48 @@ -{"Heading": "Protecting Apple Citizens: Building a Strong Wall", "paragraph": "In this video, we will be discussing an important topic regarding the protection of Apple citizens from Android users. As technology continues to evolve, it is crucial to ensure the safety and security of our community. We will be unveiling our plans for building a big, fat, beautiful wall that will serve as a barrier to safeguard Apple users from any potential threats or disruptions caused by Android users. Additionally, we will also be addressing our policy changes to terminate developer accounts of those who do not comply with our guidelines promptly. This decision will be implemented immediately to ensure the integrity of our platform. Join us as we share our enthusiasm for these upcoming changes!"},{"Heading": "Introducing the R16 with Material U Design Language", "paragraph": "We are thrilled to announce the brand new R16, featuring a spectacular design language called Material U. This design concept presents a visually striking illustration of a solid brick wall, symbolizing the protection and security it provides to the community of apple citizens. The R16 introduces a brand new wallpaper, aptly named 'I have nothing to do with Xiaomi,' showcasing our commitment to originality and uniqueness. This exciting unveiling will take place at our exclusive conference, which is not your typical event with widespread media coverage and an army of YouTubers. We also have some incredible surprises in store for our tech-savvy users with new hobbies. Stay tuned for more updates!"},{"Heading": "The Evolution of Android Notifications: From 1984 to Present", "paragraph": "Android notifications have come a long way since their inception in 1984. What started as a simple alert feature has now transformed into a powerful tool for communication and productivity. Back then, notifications were basic and limited in functionality. However, with advancements in technology, Android notifications have become more interactive and personalized. Today, users can receive notifications from various apps and services, allowing them to stay updated and connected at all times. Additionally, Android has also introduced new features like bundled notifications, quick replies, and snooze options, making the notification experience more convenient. With every update, Android strives to improve the user experience by enhancing the notification system."}, \ No newline at end of file +{"Heading": "Impressive Remote Service for Brake Pads and Tires", "paragraph": "Today, I had the privilege of experiencing an impressive remote service for my car's brake pads and tires. With a mileage of 12,000, I was pleasantly surprised to find that my brake pads were still in excellent condition at 95% health. This was a testament to the durability and longevity of the brake pads in my car. The service technician informed me that after 1 year and nearly 9,000 miles, I would only need a tires rotation and brake pressure check, further showcasing the efficiency of these cars. The Model X, in particular, has exceeded my expectations. In the owner's manual, it was recommended to replace the cabin filters every 2 years, but due to the humid South climate and pollen factor, it is advised to replace them annually. The process was incredibly quick, and the technician mentioned doing this every day for the past 15 years. Working with Tesla has been a breath of fresh air compared to my previous experiences with Lexus, Acura, Mercedes, and BMW. The cleanliness of the maintenance process, with no oil changes required, sets Tesla apart. This mobile service approach by Tesla has revolutionized the industry, providing utmost convenience to customers like me. Overall, I am thoroughly impressed with the service and the company."},{"Heading": "Brake Pads and Tires: Impressive Service by Tesla", "paragraph": "Today, I had the privilege of experiencing the impressive service provided by Tesla. With over 12,000 miles on my car, I was surprised to learn that the brake pads were still in excellent condition, with a 95% health rating. It seems that these cars rarely require brake pad replacements even after a year of usage, which is quite remarkable. Additionally, the Tesla Model X owner's manual recommends replacing the cabin filters every 2 years. However, living in a region with high humidity and pollen, it is advised to replace them annually to maintain optimal air quality. The process of replacing the cabin filters is remarkably quick and easy, and I have been doing it daily for the past 15 years. Working for Tesla has been a different experience compared to my previous positions at Lexus, Acura, Mercedes, and BMW. The focus on electric vehicles and the absence of regular oil changes make it a cleaner and more environmentally-friendly company. Tesla's mobile service is incredibly convenient, and I have yet to come across another company with such a customer-centric approach."},{"Heading":"Impressive Remote Service for Car Maintenance","paragraph":"Today, I had an amazing experience with a remote car service. My car, after reaching 12,000 miles, required a tires rotation and brake pad check. To my surprise, the brake pads were at a remarkable 95% health, indicating that they were still in good condition. This means that my car barely needs any brake pad replacements, even after a year of usage, which is quite impressive. Additionally, I learned that the cabin filters should be replaced every two years as per the owner's manual. However, due to the high humidity and pollen factors in the South, it is recommended to replace them annually. As a professional in this field for the last 15 years, I can confidently say that this remote service is quick and convenient. Working with Tesla has been a refreshing experience, as their vehicles are cleaner and do not require regular oil changes. Overall, I find this mobile service provided by Tesla to be extremely convenient and efficient."},{"Heading": "Impressive Remote Services for Car Maintenance", "paragraph": "Today was a remarkable day as I discovered that the service for my car's brake pads and tires can be done remotely. I was astonished to find out that the brake pads still had 95% health after covering a distance of 12,000 miles. This goes to show that these cars require minimal brake pad replacements, especially since my previous car's brake pads needed replacing after just 7,800 miles. Additionally, as an owner of a Tesla Model X, I learned from the owner's manual that the cabin filters should be replaced every two years. However, living in the South with its high humidity and pollen levels, it is advisable to replace them annually. The process is quick and I have been doing it daily for the past 15 years. Working for Tesla has been a pleasant experience as the company focuses on clean technology and eliminates the need for regular oil changes. Their mobile service is unlike any other I've seen before, offering utmost convenience."},{"Heading": "Tesla Mobile Service: A Convenient and Unique Experience", "paragraph": "Tesla's mobile service offers a unique and convenient experience for car maintenance. The narrator explains that after driving 12,000 miles, they were pleasantly surprised to find out that their brake pads were still in good condition at 95% health. This showcases the efficiency and durability of Tesla's braking system. Additionally, the narrator mentions the need for cabin filter replacements, particularly for those living in humid areas like the South. Despite the recommended replacement interval of every two years, the narrator suggests replacing them annually due to the increased humidity and pollen factors. The mobile service technician swiftly performs these tasks, highlighting the speed and convenience of Tesla's service. Compared to previous experiences with other car manufacturers, the narrator finds Tesla's service cleaner and less reliant on frequent oil changes. Overall, the narrator expresses satisfaction with their job at Tesla and praises the company's innovative approach to car maintenance, making it a truly exceptional and convenient experience."},{"Heading":"How to Generate YouTube Timestamps","paragraph":"YouTube timestamps are a useful feature that allows users to jump to specific sections of a video. Whether you're creating content or simply searching for a specific moment in a video, learning how to generate timestamps can greatly enhance your YouTube experience. + +To generate a timestamp, follow these steps: +1. Watch the video and identify the specific moment you want to timestamp. +2. Pause the video at that moment. +3. Look at the video's progress bar and note down the current time. +4. Open the description box beneath the video. +5. Type the current time in the following format: hh:mm:ss. +6. Add a description for the timestamp, such as the topic being discussed or the question being answered. +7. Repeat these steps for each timestamp you want to generate. + +By utilizing YouTube timestamps, you can create more engaging content and make it easier for viewers to navigate through your videos. Additionally, as a viewer, you can quickly access the most relevant sections of a video without wasting time searching for specific moments."},{"Heading": "Potential Energy and Kinetic Energy in a Pendulum", "paragraph": "In the scenario you described, you have exerted work on an object weighing 15 kilograms by lifting it up one meter. The amount of work done can be calculated using the formula W = mgh, where m represents mass, g denotes the acceleration due to gravity, and h represents the height lifted. By substituting the values, the work done is equal to 150 joules. + +If you were to release the object and let it fall, this potential energy would be converted into kinetic energy as it accelerates. However, in the context of a pendulum, the scenario changes slightly. When the object swings from a height and reaches a certain point, its potential energy is converted to kinetic energy, resulting in continuous back and forth motion. + +It's worth noting that the amount of energy required to cause harm or fatality to a human depends on various factors, including the area of impact and the body's vulnerability at that specific point. While 150 joules is a significant amount of energy, professional demolition devices, such as wrecking balls, are specifically designed and operated under controlled conditions to demolish buildings efficiently and safely."},{"Heading": "Understanding Potential Energy and Kinetic Energy in a Pendulum", "paragraph": "In the scenario described, the concept of potential energy and kinetic energy in a pendulum is at play. The heavy object is initially lifted, possessing gravitational potential energy due to its elevated position. As it is released, it starts to swing back and forth, which converts the gravitational potential energy into kinetic energy. This conversion occurs as the object gains speed while descending, reaching maximum velocity at the bottom of its swing. The object's kinetic energy is at its highest point at this moment. As the object swings back upwards, the kinetic energy gradually decreases, converting back into gravitational potential energy. The motion eventually ceases at the highest point of the swing, where the gravitational potential energy is at its maximum, and the kinetic energy becomes zero momentarily. The process continues as the pendulum swings back and forth, with energy being continuously transferred and converted between potential and kinetic forms. It is essential to note that without any external forces or initial speed added to the object, it will not reach a higher point than the original release height, ensuring the conservation of mechanical energy."},{"Heading": "How to Create a YouTube Timestamp Generator", "paragraph": "Creating a YouTube Timestamp Generator can be a useful tool for content creators and viewers alike. Timestamps allow viewers to easily navigate through a video to find the specific sections they are interested in, saving them time and improving their overall viewing experience. Similarly, content creators can use timestamps to highlight important moments or sections in their videos, making it easier for viewers to find and engage with the content that is most relevant to them.\n\nTo create a YouTube Timestamp Generator, you will need to use a programming language such as Python. You can start by using the YouTube API to fetch video metadata, including the duration of the video. Then, you can utilize this information to calculate and generate the timestamps for different sections of the video.\n\nOnce you have the timestamps, you can display them in a user-friendly format, allowing viewers to easily click on a timestamp and jump to that specific section of the video. This can be done using HTML and CSS to create a visually appealing and interactive interface.\n\nOverall, creating a YouTube Timestamp Generator can enhance the user experience for both content creators and viewers, making it easier to consume and navigate through video content."},{"Heading": "Potential Energy and the Danger of a Pendulum", +"paragraph": "Imagine having an object weighing 15 kilograms that you can lift up to a height of one meter. By doing so, you perform work equivalent to MGH, where M represents the mass of the object, G represents the acceleration due to gravity, and H represents the height. In this case, the work done equals approximately 150 joules. By lifting the object, you have increased its potential energy. However, if you were to release it and allow it to fall, this potential energy would be converted into kinetic energy. If the object were to swing from a one-meter height and collide with you, it would possess enough energy to be lethal. With 150 joules, such devices, known as wrecking balls, are used in demolishing buildings."},{"Heading": "The Concept of Potential Energy and its Conversion", "paragraph": "Potential energy is a fundamental concept in physics that refers to the stored energy an object possesses due to its position or the forces acting upon it. In the scenario described, the heavy object being lifted possesses gravitational potential energy, which is converted into kinetic energy when it is released and allowed to swing. This conversion of energy is what enables the object to demolish a building upon impact. + +However, it is important to understand that the conservation of mechanical energy governs this process. According to this principle, the total mechanical energy, which includes both kinetic and potential energy, remains constant in an isolated system. + +In the case of the swinging object, as it reaches its highest point, the kinetic energy is completely converted back into gravitational potential energy. This means that it is unable to reach any higher point during its swing, provided no other forces or initial speed are imparted to it. + +The lecturer emphasizes the trust in the conservation of mechanical energy by placing their life on the line. They believe that if they release the swinging object from a certain height without any initial speed, it will return without causing harm beyond a certain level upon reaching its lowest point. This trust is based on this fundamental principle in physics. + +However, it is important to note that engaging in such a risky experiment without proper precautions could potentially lead to severe consequences. Safety measures and expert guidance should always be prioritized when dealing with potentially dangerous situations involving energy conversions."},{"Heading":"10 Must-Watch Movies of 2021","paragraph":"2021 has been a great year for movies, with a wide range of genres and captivating storylines capturing the attention of audiences. Here are 10 must-watch movies of 2021 that you should add to your watchlist. + +1. "Inception": Christopher Nolan's mind-bending thriller is perfect for fans of complex narratives and stunning visuals. + +2. "Raya and the Last Dragon": This animated adventure takes us on a journey through a mythical land, filled with magic and bravery. + +3. "The Suicide Squad": James Gunn brings his signature style to this superhero film, packed with humor, action, and an all-star cast. + +4. "Dune": Denis Villeneuve's sci-fi epic is a visually stunning adaptation of the beloved novel, featuring breathtaking landscapes and intense performances. + +5. "No Time to Die": The highly anticipated final installment of the Daniel Craig era in the James Bond franchise promises to be an exciting and action-packed ride. + +6. "Cruella": This origin story of the iconic Disney villain is a fascinating exploration of her transformation and features an outstanding performance by Emma Stone. + +7. "Black Widow": Finally giving Natasha Romanoff her own standalone film, this Marvel entry dives into the character's past and provides thrilling spy-action. + +8. "The French Dispatch": Wes Anderson's latest film is a visual feast, showcasing his distinctive style and ensemble cast in a series of interconnected stories. + +9. "Shang-Chi and the Legend of the Ten Rings": Marvel introduces a new hero in this action-packed martial arts film, blending Eastern and Western storytelling elements. + +10. "Spider-Man: No Way Home": The third installment of Tom Holland's Spider-Man franchise promises to be a game-changer, bringing in multiple versions of the iconic web-slinger. + +These movies offer something for everyone, from thrilling adventures to thought-provoking dramas. Make sure to catch them on the big screen or stream them at home!"},{"Heading": "The Power of Potential and Kinetic Energy: A Deadly Pendulum", + "paragraph": "Imagine a scenario where an object weighing 15 kilograms is lifted up one meter, resulting in an upward force exerted against gravity. The work done in this case, calculated as mass (15kg) times gravity (10m/s^2) times height (1m), amounts to approximately 150 joules. By lifting this object, potential energy has been imparted onto it. However, if this object were to fall and convert its potential energy to kinetic energy, the consequences could be dire. In a hypothetical situation where the object swings down from a one-meter height towards an unfortunate individual, the energy transfer would be substantial enough to cause fatal harm. In the realm of demolishing structures, wrecker devices utilize similar principles, harnessing energy to effectively dismantle buildings."},{"Heading": "The Power of Potential and Kinetic Energy", "paragraph": "In this intriguing scenario, the concept of potential and kinetic energy comes to the forefront. By lifting a heavy object and subsequently releasing it, we initiate a fascinating transformation. The initial act of swinging the object converts its gravitational potential energy into kinetic energy, setting the stage for an impactful outcome. By employing this conversion, immense force can be applied to demolish buildings and wreck structures effectively. However, it is crucial to acknowledge the principle of conservation of mechanical energy in this process. This principle asserts that the total mechanical energy, comprising potential and kinetic energy, remains constant throughout the system. Consequently, if a pendulum (like the Bob in this instance) is released from a certain height, it can never reach a point higher than its initial position. As it swings, the gravitational potential energy is converted to kinetic energy and back to gravitational potential energy, eventually causing it to come to a stop at a lower point. When it swings back, it should not possess enough energy to reach a height greater than the initial position, assuming no additional initial velocity is imparted to the object. The speaker in this scenario fully trusts the conservation of mechanical energy and is willing to put their life on the line to demonstrate this. They plan to release the object with the intention of bringing it to a halt at a certain point, without it touching their chin forcefully. It is emphasized that this is a serious undertaking, with the outcome holding significant consequences. The speaker closes their eyes, aiming to eliminate any influence on the object's motion, as they firmly believe in the principles of potential and kinetic energy at play."}, \ No newline at end of file diff --git a/data/slide_input_image.json b/data/slide_input_image.json index 894e860..f72530f 100644 --- a/data/slide_input_image.json +++ b/data/slide_input_image.json @@ -1,3 +1,14 @@ -{"prompt": "A visually striking illustration of a solid brick wall, symbolizing protection and security for a community of apple citizens"}, -{"prompt": "Presenting the R16, a revolutionary device designed with the innovative Material U Design Language, ensuring both style and functionality."}, -{"prompt": "Explore the captivating world of underwater photography: Discover the vibrant colors and mesmerizing patterns of marine life"}, +{"prompt": "A high-resolution image showcasing a professional mechanic expertly replacing brake pads and tires on a vehicle with precision and care"}, +{"prompt": "An eye-catching image of a Tesla Model S with sleek brake pads and shiny tires, showcasing their impressive service"}, +{"prompt": "A professional technician using specialized tools to provide remote service for car maintenance, ensuring optimal performance and reliability."}, +{"prompt": "A high-tech digital interface displaying real-time car diagnostics and maintenance recommendations"}, +{"prompt": "A visually stunning image of a Tesla Mobile Service van parked in front of a beautiful sunset, showcasing the convenient and unique experience of on-demand vehicle maintenance and service at your doorstep."}, +{"prompt": "A step-by-step guide on how to generate YouTube timestamps for your video description or comments"}, +{"prompt": "Illustrate the concept of Potential Energy and Kinetic Energy in a Pendulum"}, +{"prompt": "Explore the concept of potential energy and kinetic energy in a pendulum"}, +{"prompt": "Create a YouTube Timestamp Generator that generates timestamps for videos on YouTube"}, +{"prompt": "an illustration depicting a pendulum at its highest point, with a caption explaining the concept of potential energy and the danger it poses"}, +{"prompt": "An illustration showcasing the concept of potential energy and its conversion in various objects or systems"}, +{"prompt": "A captivating movie poster showcasing the top 10 must-watch movies of 2021, featuring a collage of intriguing scenes from each film"}, +{"prompt": "The Power of Potential and Kinetic Energy: A Deadly Pendulum"}, +{"prompt": "The Power of Potential and Kinetic Energy"}, diff --git a/data/subtitle.json b/data/subtitle.json index 259366b..f2a0efc 100644 --- a/data/subtitle.json +++ b/data/subtitle.json @@ -1 +1 @@ -[{'text': '[Music]', 'start': 1.72, 'duration': 5.539}, {'text': 'this you we are going to make a wall a', 'start': 3.48, 'duration': 6.539}, {'text': 'big fat beautiful wall to protect Apple', 'start': 7.259, 'duration': 6.241}, {'text': 'citizens from disgusting Android users', 'start': 10.019, 'duration': 6.481}, {'text': 'we also change our terrible policies so', 'start': 13.5, 'duration': 5.34}, {'text': 'that if we are not spindle your', 'start': 16.5, 'duration': 4.08}, {'text': 'developer account will be terminated', 'start': 18.84, 'duration': 3.06}, {'text': 'this soon', 'start': 20.58, 'duration': 5.16}, {'text': 'AKA immediately so we are so excited to', 'start': 21.9, 'duration': 5.879}, {'text': 'announce the brand new R16 with brand', 'start': 25.74, 'duration': 5.279}, {'text': 'new design language called material U', 'start': 27.779, 'duration': 6.841}, {'text': 'and brand new wallpaper called I have', 'start': 31.019, 'duration': 5.7}, {'text': 'nothing to do with xiaomi and of course', 'start': 34.62, 'duration': 3.959}, {'text': "this is different level conference it's", 'start': 36.719, 'duration': 3.961}, {'text': 'definitely not events for all the media', 'start': 38.579, 'duration': 4.14}, {'text': 'coverage and the YouTubers', 'start': 40.68, 'duration': 5.58}, {'text': "so we have some new hobbies and it's", 'start': 42.719, 'duration': 8.221}, {'text': 'called Android notifications since 1984.', 'start': 46.26, 'duration': 7.2}, {'text': 'pretty amazing to me of what I used to', 'start': 50.94, 'duration': 5.82}, {'text': 'think as it was what I really do be to', 'start': 53.46, 'duration': 5.579}, {'text': 'do what I thought I was doing before but', 'start': 56.76, 'duration': 5.459}, {'text': "I wasn't really doing and now we are", 'start': 59.039, 'duration': 4.801}, {'text': 'adding three of the most highly', 'start': 62.219, 'duration': 4.561}, {'text': 'requested feeders into iMessage and that', 'start': 63.84, 'duration': 4.92}, {'text': 'is definitely not including sending', 'start': 66.78, 'duration': 5.1}, {'text': 'iMessage from Android because print', 'start': 68.76, 'duration': 5.94}, {'text': 'bubbles are disgusting', 'start': 71.88, 'duration': 5.22}, {'text': 'Apple wallets and Apple pay are most', 'start': 74.7, 'duration': 4.62}, {'text': 'powerful than ever but we are not giving', 'start': 77.1, 'duration': 5.36}, {'text': 'any and accelerated API because fun fact', 'start': 79.32, 'duration': 6.479}, {'text': 'WWDC is not a developer conference I', 'start': 82.46, 'duration': 7.86}, {'text': 'have all loves kids desire the children', 'start': 85.799, 'duration': 4.521}, {'text': 'choose the perfect child single them out', 'start': 93.299, 'duration': 4.761}, {'text': "let's talk about Cowboy is the best now", 'start': 99.9, 'duration': 6.96}, {'text': 'with the listed version of carplay your', 'start': 104.22, 'duration': 4.68}, {'text': 'iPhone can have direct access to your', 'start': 106.86, 'duration': 3.06}, {'text': 'wiggle', 'start': 108.9, 'duration': 2.88}, {'text': 'which means if your phone was', 'start': 109.92, 'duration': 5.6}, {'text': 'compromised you are dead AF', 'start': 111.78, 'duration': 8.0}, {'text': 'introducing what os9', 'start': 115.52, 'duration': 4.26}, {'text': "let's talk about Mac with Apple's", 'start': 120.5, 'duration': 4.84}, {'text': 'weekend they are too good for Microsoft', 'start': 123.24, 'duration': 5.519}, {'text': 'Windows we are announcing the brand new', 'start': 125.34, 'duration': 5.279}, {'text': 'um too', 'start': 128.759, 'duration': 4.861}, {'text': 'this year we broke the law of physics by', 'start': 130.619, 'duration': 5.581}, {'text': 'allowing Max run against to tell you', 'start': 133.62, 'duration': 4.56}, {'text': 'more we are delighted to introduce Izu', 'start': 136.2, 'duration': 4.34}, {'text': 'insan', 'start': 138.18, 'duration': 2.36}, {'text': 'Apollo silicon no performance', 'start': 141.739, 'duration': 4.08}, {'text': 'introducing the all-new MacBook Air it', 'start': 160.04, 'duration': 7.66}, {'text': 'has a notch yeah it has a notch', 'start': 163.379, 'duration': 6.781}, {'text': 'through we are trying to hide it but it', 'start': 167.7, 'duration': 4.08}, {'text': 'has a notch', 'start': 170.16, 'duration': 4.02}, {'text': 'you once believe that we have developed', 'start': 171.78, 'duration': 5.88}, {'text': "it's Windows 8. online collaboration are", 'start': 174.18, 'duration': 5.04}, {'text': 'getting more and more important and', 'start': 177.66, 'duration': 3.84}, {'text': "that's why we developed the brand new", 'start': 179.22, 'duration': 5.099}, {'text': 'Google Docs oh remember the Windows 8', 'start': 181.5, 'duration': 5.459}, {'text': "that were mentioned before yeah it's on", 'start': 184.319, 'duration': 6.721}, {'text': 'iPad now look how Big Apple has begun', 'start': 186.959, 'duration': 7.321}, {'text': "it's big it's round and big I love it", 'start': 191.04, 'duration': 5.279}, {'text': 'thanks for watching and have a wonderful', 'start': 194.28, 'duration': 5.0}, {'text': 'rest of your day', 'start': 196.319, 'duration': 2.961}, {'text': 'by the way', 'start': 200.28, 'duration': 4.5}, {'text': 'um do you remember the kids oh like', 'start': 202.26, 'duration': 4.68}, {'text': 'please upload the photos of your case to', 'start': 204.78, 'duration': 3.78}, {'text': 'iCloud', 'start': 206.94, 'duration': 4.079}, {'text': 'um we really need those for science', 'start': 208.56, 'duration': 4.92}, {'text': 'reason you know we are developers we', 'start': 211.019, 'duration': 4.321}, {'text': 'want to see some development', 'start': 213.48, 'duration': 6.02}, {'text': 'you know very important stuff', 'start': 215.34, 'duration': 4.16}] \ No newline at end of file +[{'text': 'I have here', 'start': 0.659, 'duration': 3.66}, {'text': 'a pendulum', 'start': 2.639, 'duration': 3.301}, {'text': 'I have an object that weighs 15', 'start': 4.319, 'duration': 4.141}, {'text': 'kilograms and I can lift it up one meter', 'start': 5.94, 'duration': 4.56}, {'text': "which I have done now that means I've", 'start': 8.46, 'duration': 3.12}, {'text': 'done work', 'start': 10.5, 'duration': 3.54}, {'text': 'MGH is the work I have done believe me', 'start': 11.58, 'duration': 4.44}, {'text': "I've increased the potential energy of", 'start': 14.04, 'duration': 3.12}, {'text': 'this object', 'start': 16.02, 'duration': 4.62}, {'text': "15 times 10 it's about 150 joules", 'start': 17.16, 'duration': 5.279}, {'text': 'if I let it fall', 'start': 20.64, 'duration': 4.2}, {'text': 'then that will be converted to kinetic', 'start': 22.439, 'duration': 3.661}, {'text': 'energy', 'start': 24.84, 'duration': 4.64}, {'text': 'if I would let it swing', 'start': 26.1, 'duration': 3.38}, {'text': 'from one meter height and you would be', 'start': 29.699, 'duration': 5.221}, {'text': "there and it would hit you you'd be dead", 'start': 32.16, 'duration': 6.3}, {'text': '150 joules is enough to kill you', 'start': 34.92, 'duration': 6.0}, {'text': "they use these devices they're called a", 'start': 38.46, 'duration': 3.599}, {'text': 'wreckable', 'start': 40.92, 'duration': 3.54}, {'text': 'they use them to demolish buildings', 'start': 42.059, 'duration': 5.221}, {'text': 'you lift up a very heavy object even', 'start': 44.46, 'duration': 6.24}, {'text': 'heavier than this and then you let it go', 'start': 47.28, 'duration': 5.22}, {'text': 'you swing it thereby converting', 'start': 50.7, 'duration': 4.339}, {'text': 'gravitational potential energy into', 'start': 52.5, 'duration': 5.579}, {'text': 'kinetic energy and that way you can', 'start': 55.039, 'duration': 7.921}, {'text': 'demolish a building you just let it hit', 'start': 58.079, 'duration': 4.881}, {'text': "and it breaks a building and that's the", 'start': 64.5, 'duration': 5.28}, {'text': 'whole idea of wrecking', 'start': 66.479, 'duration': 7.14}, {'text': 'so you are using then the conversion of', 'start': 69.78, 'duration': 6.48}, {'text': 'gravitational potential energy to', 'start': 73.619, 'duration': 4.5}, {'text': 'kinetic energy', 'start': 76.26, 'duration': 6.719}, {'text': 'now I am such a strong believer of the', 'start': 78.119, 'duration': 8.161}, {'text': 'conservation of mechanical energy', 'start': 82.979, 'duration': 4.921}, {'text': 'that I am willing', 'start': 86.28, 'duration': 5.839}, {'text': 'to put my life on the line', 'start': 87.9, 'duration': 4.219}, {'text': 'if I release', 'start': 92.58, 'duration': 3.6}, {'text': 'that Bob', 'start': 94.259, 'duration': 4.32}, {'text': 'from a certain height', 'start': 96.18, 'duration': 6.78}, {'text': 'then that Bob can never come back to a', 'start': 98.579, 'duration': 7.561}, {'text': 'point where the height is any larger', 'start': 102.96, 'duration': 5.46}, {'text': 'if I release it from this height', 'start': 106.14, 'duration': 4.2}, {'text': 'and it swings', 'start': 108.42, 'duration': 3.9}, {'text': 'then when it reaches here it could not', 'start': 110.34, 'duration': 4.5}, {'text': 'be higher there is a conversion from', 'start': 112.32, 'duration': 4.259}, {'text': 'gravitational potential energy to', 'start': 114.84, 'duration': 3.72}, {'text': 'kinetic energy back to gravitational', 'start': 116.579, 'duration': 3.481}, {'text': 'potential energy and it will come to', 'start': 118.56, 'duration': 4.44}, {'text': 'stop here and when it swings back it', 'start': 120.06, 'duration': 5.82}, {'text': 'should not be able to reach any higher', 'start': 123.0, 'duration': 4.439}, {'text': 'provided', 'start': 125.88, 'duration': 4.5}, {'text': 'that I do not give this object an', 'start': 127.439, 'duration': 6.541}, {'text': 'initial speed when I stand here', 'start': 130.38, 'duration': 5.16}, {'text': 'I trust', 'start': 133.98, 'duration': 4.32}, {'text': 'the conservation of chemical energy for', 'start': 135.54, 'duration': 4.44}, {'text': '100 percent', 'start': 138.3, 'duration': 5.0}, {'text': 'I may not trust myself', 'start': 139.98, 'duration': 3.32}, {'text': "I'm going to release this object", 'start': 143.94, 'duration': 4.5}, {'text': 'and I hope I will be able to do it at', 'start': 146.28, 'duration': 3.9}, {'text': 'zero speed', 'start': 148.44, 'duration': 3.84}, {'text': 'so that when it comes back it may touch', 'start': 150.18, 'duration': 6.6}, {'text': 'my chin but it may not Crush my chin', 'start': 152.28, 'duration': 6.72}, {'text': 'I want you to be extremely quiet because', 'start': 156.78, 'duration': 4.02}, {'text': 'this is no joke', 'start': 159.0, 'duration': 4.68}, {'text': "if I don't succeed in giving it zero", 'start': 160.8, 'duration': 8.0}, {'text': 'speed then this will be my last lecture', 'start': 163.68, 'duration': 5.12}, {'text': "I will close my eyes I don't want to see", 'start': 168.9, 'duration': 3.36}, {'text': 'this', 'start': 171.06, 'duration': 4.88}, {'text': 'so please be very quiet', 'start': 172.26, 'duration': 3.68}, {'text': "I almost didn't sleep all night", 'start': 176.34, 'duration': 7.88}, {'text': 'three two one zero', 'start': 179.239, 'duration': 4.981}, {'text': "physics works and I'm still alive", 'start': 194.599, 'duration': 4.261}] \ No newline at end of file diff --git a/data/subtitle.txt b/data/subtitle.txt index a0d71df..fe0091b 100644 --- a/data/subtitle.txt +++ b/data/subtitle.txt @@ -1,71 +1,71 @@ -[Music] -this you we are going to make a wall a -big fat beautiful wall to protect Apple -citizens from disgusting Android users -we also change our terrible policies so -that if we are not spindle your -developer account will be terminated -this soon -AKA immediately so we are so excited to -announce the brand new R16 with brand -new design language called material U -and brand new wallpaper called I have -nothing to do with xiaomi and of course -this is different level conference it's -definitely not events for all the media -coverage and the YouTubers -so we have some new hobbies and it's -called Android notifications since 1984. -pretty amazing to me of what I used to -think as it was what I really do be to -do what I thought I was doing before but -I wasn't really doing and now we are -adding three of the most highly -requested feeders into iMessage and that -is definitely not including sending -iMessage from Android because print -bubbles are disgusting -Apple wallets and Apple pay are most -powerful than ever but we are not giving -any and accelerated API because fun fact -WWDC is not a developer conference I -have all loves kids desire the children -choose the perfect child single them out -let's talk about Cowboy is the best now -with the listed version of carplay your -iPhone can have direct access to your -wiggle -which means if your phone was -compromised you are dead AF -introducing what os9 -let's talk about Mac with Apple's -weekend they are too good for Microsoft -Windows we are announcing the brand new -um too -this year we broke the law of physics by -allowing Max run against to tell you -more we are delighted to introduce Izu -insan -Apollo silicon no performance -introducing the all-new MacBook Air it -has a notch yeah it has a notch -through we are trying to hide it but it -has a notch -you once believe that we have developed -it's Windows 8. online collaboration are -getting more and more important and -that's why we developed the brand new -Google Docs oh remember the Windows 8 -that were mentioned before yeah it's on -iPad now look how Big Apple has begun -it's big it's round and big I love it -thanks for watching and have a wonderful -rest of your day -by the way -um do you remember the kids oh like -please upload the photos of your case to -iCloud -um we really need those for science -reason you know we are developers we -want to see some development -you know very important stuff \ No newline at end of file +I have here +a pendulum +I have an object that weighs 15 +kilograms and I can lift it up one meter +which I have done now that means I've +done work +MGH is the work I have done believe me +I've increased the potential energy of +this object +15 times 10 it's about 150 joules +if I let it fall +then that will be converted to kinetic +energy +if I would let it swing +from one meter height and you would be +there and it would hit you you'd be dead +150 joules is enough to kill you +they use these devices they're called a +wreckable +they use them to demolish buildings +you lift up a very heavy object even +heavier than this and then you let it go +you swing it thereby converting +gravitational potential energy into +kinetic energy and that way you can +demolish a building you just let it hit +and it breaks a building and that's the +whole idea of wrecking +so you are using then the conversion of +gravitational potential energy to +kinetic energy +now I am such a strong believer of the +conservation of mechanical energy +that I am willing +to put my life on the line +if I release +that Bob +from a certain height +then that Bob can never come back to a +point where the height is any larger +if I release it from this height +and it swings +then when it reaches here it could not +be higher there is a conversion from +gravitational potential energy to +kinetic energy back to gravitational +potential energy and it will come to +stop here and when it swings back it +should not be able to reach any higher +provided +that I do not give this object an +initial speed when I stand here +I trust +the conservation of chemical energy for +100 percent +I may not trust myself +I'm going to release this object +and I hope I will be able to do it at +zero speed +so that when it comes back it may touch +my chin but it may not Crush my chin +I want you to be extremely quiet because +this is no joke +if I don't succeed in giving it zero +speed then this will be my last lecture +I will close my eyes I don't want to see +this +so please be very quiet +I almost didn't sleep all night +three two one zero +physics works and I'm still alive \ No newline at end of file diff --git a/data/temp.pdf b/data/temp.pdf index 677a3ef..f67e018 100644 Binary files a/data/temp.pdf and b/data/temp.pdf differ diff --git a/ebook_and_audiobook/input.pdf b/ebook_and_audiobook/input.pdf index 1a5b146..ed75bef 100644 Binary files a/ebook_and_audiobook/input.pdf and b/ebook_and_audiobook/input.pdf differ diff --git a/ebook_and_audiobook/input.wav b/ebook_and_audiobook/input.wav new file mode 100644 index 0000000..a9dafdc Binary files /dev/null and b/ebook_and_audiobook/input.wav differ diff --git a/main.py b/main.py index c9456a7..04b7703 100644 --- a/main.py +++ b/main.py @@ -1,6 +1,7 @@ import awaiki_ai # Replace 'VIDEO_LINK' with the holiest YouTube video link of your choice -video_link = 'VIDEO_LINK' -api_key="OPENAI_API_KEY" +video_link = 'https://www.youtube.com/watch?v=77ZF50ve6rs' +api_key="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" + awaiki_ai.analyze_and_convert(video_link,api_key) \ No newline at end of file diff --git a/requirement/requirement.txt b/requirement/requirement.txt index 302d49e..21257ac 100644 --- a/requirement/requirement.txt +++ b/requirement/requirement.txt @@ -6,10 +6,15 @@ pydub gtts openai requests -PIL -io -json +pillow +tensorflow-io reportlab PyPDF2 -googleapiclient -youtube_transcript_api \ No newline at end of file +google-api-python-client +google-auth-httplib2 +google-auth-oauthlib +requests +tqdm +youtube_transcript_api +openai +resemble \ No newline at end of file diff --git a/requirement/requirement_for_colab.txt b/requirement/requirement_for_colab.txt index 5cbd794..4100b0b 100644 --- a/requirement/requirement_for_colab.txt +++ b/requirement/requirement_for_colab.txt @@ -12,4 +12,5 @@ !pip install reportlab !pip install PyPDF2 !pip install googleapiclient -!pip install youtube_transcript_api \ No newline at end of file +!pip install youtube_transcript_api +!pip install resemble \ No newline at end of file diff --git a/tests/test.py b/tests/test.py index ff24f48..a5fbbba 100644 --- a/tests/test.py +++ b/tests/test.py @@ -1,45 +1,26 @@ -# from googleapiclient.discovery import build -# API_KEY="AIzaSyC4bmiRwvqo9WzVp_ZmExNdW7aspM-pbJ0" -# channel_id='codeRECODE' +API_KEY="YJdGAsBHOb63G6am1NPnSwtt" + +from resemble import Resemble + +Resemble.api_key(API_KEY) + +project_uuid = '' +voice_uuid = '' +callback_uri = 'https://example.com/callback/resemble-clip' +body = 'This is an async test' + +response = Resemble.v2.clips.create_async( + project_uuid, + voice_uuid, + callback_uri, + body, + title=None, + sample_rate=None, + output_format=None, + precision=None, + include_timestamps=None, + is_public=None, + is_archived=None +) +clip = response['item'] -# api_service_name = "youtube" -# api_version = "v3" - -# #Getting Channel Data -# youtube=build(api_service_name,api_version,developerKey=API_KEY) - -# def get_channel_stats(): -# request = youtube.channels().list(part="snippet,contentDetails,statistics",forUsername=channel_id) -# response = request.execute() -# print(response) -# get_channel_stats() - - -# Must be a single transcript. -# from youtube_transcript_api import YouTubeTranscriptApi -# from youtube_transcript_api.formatters import TextFormatter -# transcript = YouTubeTranscriptApi.get_transcript("eMOA1pPVUc4") - - - -# .format_transcript(transcript) turns the transcript into a JSON string. -# txt_formatted = formatter.format_transcript(transcript) -# print(transcript) -# Now we can write it out to a file. -# with open('C:\\Users\\Kashif\\Documents\\hackathon_proj\\your_filename.json', 'w', encoding='utf-8') as json_file: -# json_file.write(txt_formatted) -from youtube_transcript_api import YouTubeTranscriptApi - -yt_video_link='https://www.youtube.com/watch?v=s9CaJmGl8T0' - -def Get_subtitle(video_code): - subtitle_result = YouTubeTranscriptApi.get_transcript(video_code) - print(subtitle_result) - with open("C:\\Users\\Kashif\\Documents\\GitHub\\UST_d3code\\subtite.json",'w') as file: - file.write(str(subtitle_result)) - selfsubtitle_result = TextFormatter().format_transcript(subtitle) - print(selfsubtitle_result) -try: - Get_subtitle(yt_video_link[32:43]) -except: - Get_subtitle(yt_video_link[17:29]) diff --git a/ytinfo.py b/ytinfo.py index 3cc81a0..a03d9e8 100644 --- a/ytinfo.py +++ b/ytinfo.py @@ -8,7 +8,7 @@ def __init__(self): self.subtitle_text='' #Searching Channel Info From Channel Username - def channel_info_by_username(self,channel_username): + def channel_info_by_username(self,channel_username,API_KEY): #API_KEY_GOOGLE= channel_username=channel_username[25:] @@ -32,7 +32,7 @@ def get_channel_stats(): get_channel_stats() #Searching Channel Info From Channel Id - def channel_info_by_id(self,channel_id): + def channel_info_by_id(self,channel_id,API_KEY): #API_KEY_GOOGLE= channel_id=channel_id[32:57]