✨ Welcome to ARAT AI-GPT ✨, a Streamlit-based application that provides various AI functionalities such as YouTube video summarization, image-based Q&A, and text-to-image generation.
- YouTube Video Summarization: Summarize key points from a YouTube video.
- Upload an Image and Ask About It: Upload an image and get responses based on the image content.
- Image Generation: Generate images from text prompts.







To install and run this application locally, follow these steps:
First, clone the repository to your local machine using the following command:
git clone https://github.com/your-username/your-repository.git
cd your-repository
Create a virtual environment to manage dependencies:
python -m venv venv
Activate the virtual environment using the appropriate command for your operating system:
.\venv\Scripts\activate
source venv/bin/activate
Install the required dependencies from the requirements.txt file:
pip install -r requirements.txt
After installing the dependencies, you can run the application using Streamlit:
streamlit run app.py
This will start the application and open it in your default web browser.
Upon launching, you will see the following options:
• Click on "YouTube Video Summarization".
• Enter the URL of the YouTube video you want to summarize.
• Click "Submit" to get the summarized key points.
• Click on "Upload an Image and Ask About It".
• Upload an image file.
• Enter your question related to the image.
• Click "Submit" to get the response.
• Click on "Image Generation - Create Image of TEXT".
• Enter a text prompt for the image you want to generate.
• Click "Submit" to generate the image.
If you encounter any issues during installation or running the application, refer to the following troubleshooting steps:
Verify that Python is installed and added to your system PATH:
python --version
Confirm the Python executable path is correct:
where python
Create the virtual environment manually if necessary:
python -m venv path_to_your_project/venv
Activate the virtual environment using the appropriate command for your operating system:
path_to_your_project\venv\Scripts\activate
source path_to_your_project/venv/bin/activate
Install the required dependencies:
pip install -r requirements.txt
Start the Streamlit application:
streamlit run UI_st.py
If you encounter issues with image generation, such as the ' DecompressionBombError ', ensure that your image dimensions are within safe limits. Modify the image size or resolution as needed.
We welcome contributions from everyone, and we are grateful for every contribution made to this project, whether it's big or small.
If you're interested in helping out, here's how you can contribute:
-
Fork the repository: Click on the 'Fork' button at the top right corner of this page to create your own copy of this project.
-
Clone the repository: Once you have forked the repo, you can clone it to your local machine and make changes.
git clone https://github.com/your-username/your-repo-name.git -
Create a new branch: It's important to branch the repository so that you can manage the workflow, isolate your code, and control what features get added to the main project.
git checkout -b your-new-branch-name
-
Make your changes: Make the necessary changes to the project and commit them. We encourage you to write clear and descriptive commit messages.
git commit -m "Add a brief description of your changes" -
Push your changes: After you have committed your changes, you need to push the changes back to your fork on GitHub.
git push origin your-new-branch-name
-
Submit a pull request: Go to the 'Pull requests' tab in the original repository and click on 'New pull request'. Select your fork and branch, then submit your request with a clear title and description.
-
Code review: Once your pull request is submitted, it will be reviewed by the maintainers. They may suggest some changes or improvements before merging your code.
Please ensure that you read through the CONTRIBUTING.md file for more detailed information on how to contribute.
Thank you for your contributions, and we look forward to seeing your innovative ideas and improvements to the project!