Giter VIP home page Giter VIP logo

echosingh / github_profile_picture Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 5.56 MB

A guide code to generate your ai profile picture

Home Page: https://huggingface.co/spaces/adi2606/Profile_Pic_Generator

License: MIT License

Python 80.78% CSS 19.22%
python diffusers sdx transformers sdx-api huggingface-spaces stability-ai artificial-intelligence diffusion-models streamlit text-generation anime-profile-picture

github_profile_picture's Introduction

๐Ÿ“ธ GitHub Profile Picture Generator

Generated Image

โœจ Generate Your Custom GitHub Profile Picture! โœจ

๐Ÿ“ Overview

This project allows you to create an anime-style GitHub profile picture that reflects your personality and passion for coding. The image generation is done using a diffusion model pipeline and a text generation model to extend the prompts.

๐ŸŒŸ Features

  • ๐ŸŽจ Generate detailed anime-style profile pictures.
  • ๐Ÿ”ง Customize the generation process with various parameters.
  • ๐Ÿ’พ Save the generated images in the outputs_generated folder.

โš™๏ธ Installation

Prerequisites ๐Ÿ“‹

Make sure you have the following software installed:

  1. Clone the repository:

    git clone https://github.com/EchoSingh/GitHub_Profile_Picture.git 
    cd ChatBot_WebProject
  2. Install the required dependencies:

    pip install -r requirements.txt

๐Ÿš€ Usage

  1. Run the Streamlit app:

    streamlit run src/app.py
  2. Open your web browser and navigate to the URL provided by Streamlit (usually http://localhost:8501).

  3. Describe your GitHub profile picture and adjust the parameters as needed.

  4. Click the "Generate Image" button to create your custom profile picture.

  5. The generated image will be displayed and saved in the outputs_generated folder.

๐Ÿ“ฆ Dependencies

  • streamlit
  • torch
  • numpy
  • diffusers
  • transformers
  • Pillow

Use the Link and generate images ..

  • Lowest Quality Images : (src/main_SDX.py)
  • Its best if u use API as it give initial 25 credits (src/main.py).
  • Using CPU for generating so your image may not as good as expected using link (src/app.py)
  • RUNNING LINK (using now model : stabilityai/sdxl-turbo )

Files and Directories ๐Ÿ“

๐Ÿ“ project/
โ”œโ”€โ”€ ๐Ÿ“‚ src/
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ app.py
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ main.py
โ”‚   โ””โ”€โ”€ ๐Ÿ“„ main_SDX.py
โ”œโ”€โ”€ ๐Ÿ“‚ outputs_generated/
โ”‚   โ”œโ”€โ”€ ๐Ÿ–ผ๏ธ adi.png
โ”‚   โ”œโ”€โ”€ ๐Ÿ–ผ๏ธ more image (4 days ago)
โ”‚   โ”œโ”€โ”€ ๐Ÿ–ผ๏ธ aditya_profile_pic.png (first commit, last week)
โ”‚   โ””โ”€โ”€ ๐Ÿ–ผ๏ธ aditya_profile_pic_sdx_10.png (sdx_api, last week)
โ”œโ”€โ”€ ๐Ÿ“„ .gitignore
โ”œโ”€โ”€ ๐Ÿ“„ LICENSE
โ”œโ”€โ”€ ๐Ÿ“„ README.md
โ””โ”€โ”€ ๐Ÿ“„ requirements.txt

Contributing ๐Ÿค

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project: Click on the Fork button at the top right corner of the repository page.

  2. Create a Branch:

    git checkout -b feature/AmazingFeature
  3. Commit your Changes:

    git commit -m 'Add some AmazingFeature'
  4. Push to the Branch:

    git push origin feature/AmazingFeature
  5. Open a Pull Request: Click on the New Pull Request button and provide details of your changes.

License ๐Ÿ“„

Distributed under the MIT License. See LICENSE for more information.

Contact ๐Ÿ“ฌ

Acknowledgements ๐Ÿ™Œ

  • Thanks to all the contributors who have helped in improving this project.
  • Special thanks to the open source community for their continuous support and inspiration.

Support โญ

  • If you like this project, please give it a star on GitHub! Your support is appreciated and helps to keep the project growing.

Made with โค๏ธ by Aditya

github_profile_picture's People

Contributors

echosingh avatar

Stargazers

0xsharad avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.