Browse Source

0.4.4 use blip-ci instead of blip-vit

pull/46/merge
pharmapsychotic 2 years ago
parent
commit
bcf1833ae0
  1. 2
      README.md
  2. 2
      clip_interrogator/__init__.py
  3. 2
      requirements.txt
  4. 4
      setup.py

2
README.md

@ -36,7 +36,7 @@ Install with PIP
pip3 install torch torchvision --extra-index-url https://download.pytorch.org/whl/cu117 pip3 install torch torchvision --extra-index-url https://download.pytorch.org/whl/cu117
# install clip-interrogator # install clip-interrogator
pip install clip-interrogator==0.4.3 pip install clip-interrogator==0.4.4
``` ```
You can then use it in your script You can then use it in your script

2
clip_interrogator/__init__.py

@ -1,4 +1,4 @@
from .clip_interrogator import Interrogator, Config from .clip_interrogator import Interrogator, Config
__version__ = '0.4.3' __version__ = '0.4.4'
__author__ = 'pharmapsychotic' __author__ = 'pharmapsychotic'

2
requirements.txt

@ -4,4 +4,4 @@ Pillow
requests requests
tqdm tqdm
open_clip_torch open_clip_torch
blip-vit blip-ci

4
setup.py

@ -5,13 +5,13 @@ from setuptools import setup, find_packages
setup( setup(
name="clip-interrogator", name="clip-interrogator",
version="0.4.3", version="0.4.4",
license='MIT', license='MIT',
author='pharmapsychotic', author='pharmapsychotic',
author_email='me@pharmapsychotic.com', author_email='me@pharmapsychotic.com',
url='https://github.com/pharmapsychotic/clip-interrogator', url='https://github.com/pharmapsychotic/clip-interrogator',
description="Generate a prompt from an image", description="Generate a prompt from an image",
long_description=open('README.md').read(), long_description=open('README.md', encoding='utf-8').read(),
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
packages=find_packages(), packages=find_packages(),
install_requires=[ install_requires=[

Loading…
Cancel
Save