This repo contains the project made for the CAMB AI x CodersHQ hackathon. Segments of the project:
- GPEC
- Story Telling
The main objective of the the GPEC was to allow the user to record a video of them speaking in a language and using the CAMB AI the video could be dubbed to any language of their desire.
AVrecordeR.py
: This file contains the code for recording video and audio combining it into one. This was branched from https://github.com/bunkahle/AVrecordeR
run.py
: This file is used to run the AVrecoderR file.
uploading.py
: Script to upload videos to catbox and get a link for it.
dub.py
: Script used to access the api key and dub the video.
sending_mail.py
: Script to send email to the user using SMTP.
frontend.py
: Script to pipeline all the process (GUI still in development).
Narrative Nexus is a Streamlit application that generates a story based on user input and converts the story into speech.
- Clone the repository.
- Navigate to the project directory.
- Install the required packages.
- Run the Streamlit app.
- Open the provided URL in your web browser.
- Enter your text in the text area and click the "Generate Story" button.
- The application will generate a story based on your input and display it on the page.
- The application will also convert the story into speech and play the audio.
- Text-to-speech conversion: The application uses the Camb.ai Text-to-Speech API to convert the generated story into speech.
- Story generation: The application uses the Langchain Groq API to generate a story based on user input.
- Streamlit
- Requests
- Time
- Langchain Core
- Langchain Groq
- PyDub