{ "info": { "author": "Thinh Vu", "author_email": "mrthinh@live.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# I. INTRODUCTION\n`ai_artist` made generating images easy using the Stable Diffusion AI model.\n\n
\n\"Version\"/\n\"Download\n\"Commit\n\"License\n
\n\n# II. HOW TO USE THIS PROJECT\n\n## 2.1. Install this package\n\n- Using pip to install the pre-built package on Pypip `pip install ai_artist`\n- If you want to use the latest **ai_artist** version instead of the stable one, you can install it from the source with the following command:\n`pip install git+https://github.com/thinh-vu/ai_artist.git@main`\n\n_(*) You might need to insert a `!` before your command when running terminal commands on Google Colab._\n\n## 2.2. Set up your project\n\n1. Import the whole package to your project: `from ai_artist import *`\n2. Install dependencies: `!pip install transformers`\n3. Set up the environment: `initialize()`\n4. Save Huggingface login info to use the pre-trained model: `login('YOUR_HUGGINGFACE_KEY')`\n5. Set up the pipeline: `pipe = pipegen()`\n\n## 2.3. Start generating images\n6. Provide your image description to the prompt: `image_gen(\"YOUR_IMAGE_DESCRIPTION\", pipe)`\n\n# III. RERERENCES\n## 3.1. Get HuggingFace API key\n\n**Generate a token key** with **read** permission. Read the doc [here](https://huggingface.co/docs/hub/security-tokens)\n\n**About Huggingface**\n\n> [Huggingface](https://huggingface.co/about) is a community and data science platform that provides:\n> - Tools that enable users to build, train and deploy ML models based on open source (OS) code and technologies.\n> - A place where a broad community of data scientists, researchers, and ML engineers can come together and share ideas, get support and contribute to open source projects.\n\n## 3.2. Google Colab and GPU runtime are highly recommended\nGo to the Google Colab menu: Select `Runtime` > `Change runtime type` and make sure that `GPU` has been chosen. You can run this AI model way faster with GPU on Google Colab than the normal CPU or your personal computer.\n\n![gpu_setting](https://raw.githubusercontent.com/thinh-vu/ur_audio_sub/main/src/Google%20Colab%20runtime%20GPU.png)\n\n### Stable Diffusion & StabilityAI\n- Stable Diffusion on Github: [here](https://github.com/CompVis/stable-diffusion)\n\n- Stable Diffusion prompt guide and examples [here](https://strikingloo.github.io/stable-diffusion-vs-dalle-2)\n\n# IV. \ud83d\ude4b\u200d\u2642\ufe0f CONTACT INFORMATION\n\n
\n \n \"LinkedIn\n \n \n \"Messenger\n \n \"Youtube\n \n \n \n \"Github\n \n
\n\n---\n\nIf you want to support my open-source projects, you can \"buy me a coffee\" via [Patreon](https://patreon.com/thinhvu?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=creatorshare_creator) or Momo e-wallet (VN). Your support will help to maintain my blog hosting fee & to develop high-quality content.\n\n
\n Momo QR \n\n![momo-qr](https://github.com/thinh-vu/vnstock/blob/main/src/momo-qr-thinhvu.jpeg?raw=true)\n\n
\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/thinh-vu/ai_artist", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ai-artist", "package_url": "https://pypi.org/project/ai-artist/", "platform": null, "project_url": "https://pypi.org/project/ai-artist/", "project_urls": { "Homepage": "https://github.com/thinh-vu/ai_artist" }, "release_url": "https://pypi.org/project/ai-artist/0.0.2/", "requires_dist": [ "diffusers", "transformers", "scipy", "ftfy", "accelerate" ], "requires_python": ">=3.7", "summary": "ai_artist made generating image easy using Stable Diffusion AI model.", "version": "0.0.2", "yanked": false, "yanked_reason": null }, "last_serial": 15907676, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "dc635029fdda1ea38d18b974e72930cc", "sha256": "4df93242f6237db2e61a41f74ad40e17ee764a385877869ad604370ae17d229b" }, "downloads": -1, "filename": "ai_artist-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "dc635029fdda1ea38d18b974e72930cc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 4836, "upload_time": "2022-11-21T03:27:56", "upload_time_iso_8601": "2022-11-21T03:27:56.751699Z", "url": "https://files.pythonhosted.org/packages/42/79/020c89541bb264a455daa5fc7f56f79a7a9f44fba75827b601691f9bc9dc/ai_artist-0.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "3c7467b6782cbf26aba734285073e0d1", "sha256": "d57e178c0040541076aa010b99379ab56e64d43930baa29bedd495e841d48da3" }, "downloads": -1, "filename": "ai_artist-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3c7467b6782cbf26aba734285073e0d1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 4321, "upload_time": "2022-11-21T03:27:58", "upload_time_iso_8601": "2022-11-21T03:27:58.752512Z", "url": "https://files.pythonhosted.org/packages/19/f5/55d252f91b80e2507c0e09198b46a574fa7752d1ff44971ab1fab99490d8/ai_artist-0.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "1928386e589dee0a284250054282964f", "sha256": "b432dee1a99b6b73dc391cdc696fdff666189419bdd58f9aaf9be5c703849b5c" }, "downloads": -1, "filename": "ai_artist-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "1928386e589dee0a284250054282964f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 5555, "upload_time": "2022-11-27T23:24:42", "upload_time_iso_8601": "2022-11-27T23:24:42.035500Z", "url": "https://files.pythonhosted.org/packages/6a/35/b7bba76bc75cf5eecf994fe43912448d8503be0f1c16edfecbcc3eac53fa/ai_artist-0.0.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "3c2253aeb0eb4a280ec4dc0815c91d31", "sha256": "0ce711a5b41f66e775c8c847dab4a7ed6d527c2011c88892e6b11fa8a9ca3454" }, "downloads": -1, "filename": "ai_artist-0.0.2.tar.gz", "has_sig": false, "md5_digest": "3c2253aeb0eb4a280ec4dc0815c91d31", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 5023, "upload_time": "2022-11-27T23:24:43", "upload_time_iso_8601": "2022-11-27T23:24:43.710372Z", "url": "https://files.pythonhosted.org/packages/53/9b/1b3d7946f873219a2bd1b7a68d5fce3d71d7d25860e07e726f7218a56c0d/ai_artist-0.0.2.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1928386e589dee0a284250054282964f", "sha256": "b432dee1a99b6b73dc391cdc696fdff666189419bdd58f9aaf9be5c703849b5c" }, "downloads": -1, "filename": "ai_artist-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "1928386e589dee0a284250054282964f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 5555, "upload_time": "2022-11-27T23:24:42", "upload_time_iso_8601": "2022-11-27T23:24:42.035500Z", "url": "https://files.pythonhosted.org/packages/6a/35/b7bba76bc75cf5eecf994fe43912448d8503be0f1c16edfecbcc3eac53fa/ai_artist-0.0.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "3c2253aeb0eb4a280ec4dc0815c91d31", "sha256": "0ce711a5b41f66e775c8c847dab4a7ed6d527c2011c88892e6b11fa8a9ca3454" }, "downloads": -1, "filename": "ai_artist-0.0.2.tar.gz", "has_sig": false, "md5_digest": "3c2253aeb0eb4a280ec4dc0815c91d31", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 5023, "upload_time": "2022-11-27T23:24:43", "upload_time_iso_8601": "2022-11-27T23:24:43.710372Z", "url": "https://files.pythonhosted.org/packages/53/9b/1b3d7946f873219a2bd1b7a68d5fce3d71d7d25860e07e726f7218a56c0d/ai_artist-0.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }