Skip to content

Too lazy to organize my desktop, make gpt + BLIP-2 do it

Notifications You must be signed in to change notification settings

otdavies/AIOrganizeMyDesktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIOrganizeMyDesktop

Too lazy to organize my desktop, make gpt + BLIP-2 do it

sRmr39vcIm NVIDIA_Share_ilWV3RypOw cmd_wqTJmnsPIL

Renames image files based on content (BLIPv2):

explorer_yNHkNprOD9

Running it

  • You need python installed, 3.7+

  • An OpenAI API key (for gpt-3.5, file naming, and file grouping suggestions)

  • You will need to pip install these libraries: pip install pillow transformers torch openai

  • You'll need to add an .env file in the same directory as the main.py. Put your OpenAI key in there, nothing else.

  • Run python main.py "Path/to/your/folder"

Adding Organize Files to your windows right click options:

  • run python install.py, this will need admin access to add it to the right click option menu.
  • run python uninstall.py to remove it from the right click menu

Disclaimer

  • This is a toy example and might damage your file organization. Use at your own risk.