{"id":24864072,"url":"https://github.com/outofai/outoffocus","last_synced_at":"2025-04-04T22:07:54.482Z","repository":{"id":256855184,"uuid":"856416534","full_name":"OutofAi/OutofFocus","owner":"OutofAi","description":"An AI focused photo manipulation tool based on Gradio","archived":false,"fork":false,"pushed_at":"2025-02-07T17:42:38.000Z","size":26998,"stargazers_count":184,"open_issues_count":0,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T21:08:08.232Z","etag":null,"topics":["ai-photo-editor","diffusion-inversion","gradio","gradio-interface","photo-editing","photo-editor"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OutofAi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":"outofai","custom":null}},"created_at":"2024-09-12T14:41:37.000Z","updated_at":"2025-03-06T17:57:38.000Z","dependencies_parsed_at":"2025-01-10T01:18:36.199Z","dependency_job_id":"19ab407b-3079-4c5b-94b6-d0fffbb094f5","html_url":"https://github.com/OutofAi/OutofFocus","commit_stats":null,"previous_names":["outofai/outoffocus"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutofAi%2FOutofFocus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutofAi%2FOutofFocus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutofAi%2FOutofFocus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutofAi%2FOutofFocus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OutofAi","download_url":"https://codeload.github.com/OutofAi/OutofFocus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256112,"owners_count":20909240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-photo-editor","diffusion-inversion","gradio","gradio-interface","photo-editing","photo-editor"],"created_at":"2025-01-31T23:42:26.678Z","updated_at":"2025-04-04T22:07:54.462Z","avatar_url":"https://github.com/OutofAi.png","language":"Python","funding_links":["https://buymeacoffee.com/outofai","https://www.buymeacoffee.com/outofai"],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv align=\"center\"\u003e\n\n![8d7a77ba-52b3-427b-8d6b-6e9d570f5939-removebg-preview (2) (1)](https://github.com/user-attachments/assets/9b92a2cd-4c1f-4de2-87f0-09053fe129ff)\n\n\u003ch1\u003eOut of Focus v1.0\u003c/h1\u003e\n\n\u003ca href=\"https://www.buymeacoffee.com/outofai\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/-buy_me_a%C2%A0coffee-red?logo=buy-me-a-coffee\" alt=\"Buy Me A Coffee\"\u003e\u003c/a\u003e\n[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social\u0026label=Out%20of%20AI)](https://twitter.com/OutofAi)\n\n[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/OutofAi/OutofFocus/blob/main/app_turbo_colab.ipynb)\n\n\n\u003c/div\u003e\n\nOut of AI presents a flexible tool in Gradio to manipulate your images. This is our first version of Image modification tool through prompt manipulation by reconstruction through diffusion inversion process.\n\n\u003cdiv align=\"center\"\u003e\n\nhttps://github.com/user-attachments/assets/de8a4f9d-cdad-4b73-962e-2cc42bbc2e0d\n\n\u003c/div\u003e\n\n\n## Download the project\n\n```bash\ngit clone https://github.com/OutofAi/OutofFocus.git\ncd  OutofFocus\n```\n\n# 🚀 Run Gradio Demo locally\nAfter downloading the project and navigating to the correct folder\n\n**Install dependencies:**\n```bash\npip install -r requirements.txt\n```\n**Run the app**\n```bash\npython app_turbo.py\n```\nYou can also run the SD 2.1 version that requires A100 GPU for efficient editting\n\n**Run the app**\n```bash\npython app.py\n```\n\n# 🚀 Run Gradio Demo locally in Virtual Environment\nIf you face any dependency, token or cuda issues we higly recommend running it in a virtual environment.\n\nTo run it in a virtual environment use these commands instead, after downloading the project and navigating to the correct folder\n\n**Create a virtual environment:**\n```bash\npython -m venv venv\n```\n\n**Activate the environment:**\n\n*Windows:*\n```bash\n.\\venv\\Scripts\\activate\n```\n*macOS/Linux:*\n```bash\nsource venv/bin/activate\n```\n**Install dependencies:**\n```bash\npip install -r requirements.txt\n```\n**Run the app in virtual environment:**\n```bash\npython app_turbo.py\n```\n\n# 🚀 Run Gradio Demo on Google Colab (GPU based)\n\n\n\nIf you want to run it on [Colab](https://colab.research.google.com/) either click on the badge below \n\n\n [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/OutofAi/OutofFocus/blob/main/app_colab.ipynb)\n\n or create your own notebook, make sure you got a GPU notebook enabled (Views-\u003eNotebook Info) a A100 GPU or a L4 GPU and run the following commands\n\n\n```bash\n!git clone https://github.com/OutofAi/OutofFocus\n%cd OutofFocus\n!pip install -r requirements.txt\n!python app.py --share\n```\n\nhttps://github.com/user-attachments/assets/1f71553d-d41d-45d6-a256-df3e06f93182\n\n\n# Disclaimer\nThis project aims to contribute positively to the field of AI-based image generation. While users are encouraged to explore its creative capabilities, they are responsible for adhering to local regulations and using the tool responsibly. The developers are not liable for any misuse by users.\n\n# More Examples:\n![image](https://github.com/user-attachments/assets/d9f7aac4-abd6-448f-9c1a-c046958086a9)\n![image](https://github.com/user-attachments/assets/a19e1a43-de42-4244-ba39-5fcdbff509d4)\n![image](https://github.com/user-attachments/assets/6b80e011-3959-4b3e-a686-365bdb32ae94)\n![image](https://github.com/user-attachments/assets/62a324b5-a792-438a-97c5-0e40953a84ed)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutofai%2Foutoffocus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutofai%2Foutoffocus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutofai%2Foutoffocus/lists"}