saba99 / Voice-Assistant-GPT-4

AI Voice Assistant(TTS) Using GPT-4 And Famous TTS LLMs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Voice-Assistant-GPT-4

Prerequisite

Create .env file and put your OpenAI KEY , ORG at your account OpenAI API KEYS

Download PyAudio Wheel File

Run

$ git clone https://github.com/saba99/Voice-Assistant-GPT-4

$ cd voice assistant using GPT-4/python files/

$ pip install -r requirements.txt

$ py  voice-assistant.py
AI-Voice.mp4

TTS APIs

$ cd  LLMs TTS/TTS APIs/

$ run this  Text_to_Speech_API.ipynb

English Text Input To TTS API

YellowStone.mp4
Yellowstone National Park, located in Idaho, Montana, and Wyoming, was established as the first national park in the United States. The park is a popular destination for visitors who enjoy ecological tourism as it offers forests, mountains, and abundant ecosystems to explore. Some of Yellowstone’s most well-known landmarks are its geothermal hot springs and geysers, the most famous of which is named Old Faithful. Last fall, Lisa and her friends decided to take a camping trip to Yellowstone National Park. They arranged to stay at one of the park’s many convenient campsites. For their camping trip, they brought their backpacks, sleeping bags, and a cooler of food and drinks. They pitched their tents immediately upon arriving to their campsite. During their trip, Lisa and her friends hiked the many trails of the park, exploring its natural surroundings. In the forest, they saw a lot of local wildlife. Lisa was surprised to see a family of grizzly bears, some gray wolves, and even bald eagles flying overhead. Outside of the woods, they admired the beauty of some of Yellowstone’s natural cascades. Since Yellowstone contains many hot springs and the world’s largest area of active geysers, Lisa and her friends visited many different geyser sites. They even spent an afternoon swimming in Yellowstone’s Boiling River. Of all of the sites, Lisa and her friends agreed that Old Faithful was the most impressive. Lisa and her friends waited patiently for the geyser to erupt. After about 40 minutes, a stream of boiling water over 100 feet tall sprayed from the ground and up into the air. Fortunately, no one got wet!
Italian Example French Example German Example
IT-YellowStone.mp4
Fr-YellowStone.mp4
DE-YellowStone.mp4
Il Parco Nazionale di Yellowstone, situato nell'Idaho, nel Montana e nel Wyoming, è stato istituito come primo parco nazionale negli Stati Uniti. Il parco è una destinazione popolare per i visitatori che amano il turismo ecologico in quanto offre foreste, montagne e abbondanti ecosistemi da esplorare. Alcuni dei punti di riferimento più noti di Yellowstone sono le sue sorgenti termali geotermiche e i geyser, il più famoso dei quali è chiamato Old Faithful. Lo scorso autunno, Lisa e le sue amiche hanno deciso di fare una gita in campeggio al Parco Nazionale di Yellowstone. Si accordarono per soggiornare in uno dei tanti convenienti campeggi del parco. Per il loro viaggio in campeggio, hanno portato i loro zaini, sacchi a pelo e una borsa termica con cibo e bevande. Hanno piantato le loro tende subito dopo essere arrivati al loro accampamento. Durante il loro viaggio, Lisa e le sue amiche hanno percorso a piedi i numerosi sentieri del parco, esplorando i suoi dintorni naturali. Nella foresta hanno visto molta fauna locale. Lisa fu sorpresa di vedere una famiglia di orsi grizzly, alcuni lupi grigi e persino aquile calve volare sopra di loro. Fuori dal bosco, hanno ammirato la bellezza di alcune delle cascate naturali di Yellowstone. Poiché Yellowstone contiene molte sorgenti termali e la più grande area al mondo di geyser attivi, Lisa e le sue amiche hanno visitato molti siti di geyser diversi. Hanno anche trascorso un pomeriggio nuotando nel fiume bollente di Yellowstone. Di tutti i siti, Lisa e le sue amiche hanno convenuto che Old Faithful era il più impressionante. Lisa e le sue amiche hanno aspettato pazientemente che il geyser eruttasse. Dopo circa 40 minuti, un getto d'acqua bollente alto più di 100 piedi è schizzato da terra e si è alzato in aria. Per fortuna nessuno si è bagnato! Le parc national de Yellowstone, situé dans l'Idaho, le Montana et le Wyoming, a été créé en tant que premier parc national des États-Unis. Le parc est une destination populaire pour les visiteurs qui aiment le tourisme écologique car il offre des forêts, des montagnes et des écosystèmes abondants à explorer. Certains des monuments les plus connus de Yellowstone sont ses sources chaudes géothermiques et ses geysers, dont le plus célèbre s'appelle Old Faithful. L'automne dernier, Lisa et ses amis ont décidé de faire du camping dans le parc national de Yellowstone. Ils se sont arrangés pour séjourner dans l'un des nombreux campings pratiques du parc. Pour leur voyage de camping, ils ont apporté leurs sacs à dos, sacs de couchage et une glacière de nourriture et de boissons. Ils ont planté leurs tentes dès leur arrivée à leur camping. Au cours de leur voyage, Lisa et ses amis ont parcouru les nombreux sentiers du parc, explorant son environnement naturel. Dans la forêt, ils ont vu beaucoup d'animaux sauvages locaux. Lisa a été surprise de voir une famille de grizzlis, des loups gris et même des pygargues à tête blanche voler au-dessus de sa tête. En dehors des bois, ils ont admiré la beauté de certaines des cascades naturelles de Yellowstone. Étant donné que Yellowstone contient de nombreuses sources chaudes et la plus grande zone de geysers actifs au monde, Lisa et ses amis ont visité de nombreux sites de geysers différents. Ils ont même passé un après-midi à nager dans la Boiling River de Yellowstone. De tous les sites, Lisa et ses amis ont convenu que Old Faithful était le plus impressionnant. Lisa et ses amis ont attendu patiemment que le geyser éclate. Après environ 40 minutes, un jet d'eau bouillante de plus de 100 pieds de haut a été pulvérisé du sol et s'est élevé dans les airs. Heureusement, personne ne s'est mouillé ! Der Yellowstone-Nationalpark in Idaho, Montana und Wyoming wurde als erster Nationalpark in den Vereinigten Staaten gegründet. Der Park ist ein beliebtes Ziel für Besucher, die den ökologischen Tourismus genießen, da er Wälder, Berge und reiche Ökosysteme zum Erkunden bietet. Einige der bekanntesten Wahrzeichen von Yellowstone sind seine geothermischen heißen Quellen und Geysire, von denen der berühmteste Old Faithful heißt. Letzten Herbst beschlossen Lisa und ihre Freunde, einen Campingausflug in den Yellowstone-Nationalpark zu unternehmen. Sie vereinbarten, auf einem der vielen bequemen Campingplätze des Parks zu übernachten. Für ihren Campingausflug brachten sie ihre Rucksäcke, Schlafsäcke und eine Kühlbox mit Essen und Getränken mit. Sie schlugen ihre Zelte sofort nach der Ankunft auf ihrem Campingplatz auf. Während ihrer Reise wanderten Lisa und ihre Freunde auf den vielen Pfaden des Parks und erkundeten die natürliche Umgebung. Im Wald sahen sie viele einheimische Wildtiere. Lisa war überrascht, eine Grizzlybärenfamilie, einige Grauwölfe und sogar Weißkopfseeadler über sich hinwegfliegen zu sehen. Außerhalb des Waldes bewunderten sie die Schönheit einiger natürlicher Kaskaden von Yellowstone. Da Yellowstone viele heiße Quellen und das weltweit größte Gebiet aktiver Geysire enthält, besuchten Lisa und ihre Freunde viele verschiedene Geysir-Standorte. Sie verbrachten sogar einen Nachmittag damit, im Boiling River des Yellowstone zu schwimmen. Von allen Seiten waren sich Lisa und ihre Freunde einig, dass Old Faithful am beeindruckendsten war. Lisa und ihre Freunde warteten geduldig auf den Ausbruch des Geysirs. Nach etwa 40 Minuten spritzte ein über 100 Fuß hoher Strahl kochenden Wassers vom Boden in die Luft. Zum Glück wurde niemand nass!

LLM Models With Gradio

import gradio as gr

gr.Interface.load("models/facebook/fastspeech2-en-ljspeech").launch()
facebook-YellowStone.1.mp4

About

AI Voice Assistant(TTS) Using GPT-4 And Famous TTS LLMs


Languages

Language:Jupyter Notebook 92.6%Language:Python 4.1%Language:HTML 3.3%