Skip to content

Commit f5e0aea

Browse files
committed
get ready for CLI tool, just like stylegan2_pytorch
1 parent 5e03b7f commit f5e0aea

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

setup.py

+10-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44
name = 'dalle2-pytorch',
55
packages = find_packages(exclude=[]),
66
include_package_data = True,
7-
version = '0.0.1',
7+
entry_points={
8+
'console_scripts': [
9+
'dalle2_pytorch = dalle2_pytorch.cli:main',
10+
],
11+
},
12+
version = '0.0.2',
813
license='MIT',
914
description = 'DALL-E 2',
1015
author = 'Phil Wang',
@@ -16,11 +21,13 @@
1621
'text to image'
1722
],
1823
install_requires=[
24+
'click',
1925
'einops>=0.4',
2026
'einops-exts',
21-
'torch>=1.6',
27+
'torch>=1.10',
28+
'torchvision',
2229
'x-clip>=0.4.1',
23-
'yttm'
30+
'youtokentome'
2431
],
2532
classifiers=[
2633
'Development Status :: 4 - Beta',

0 commit comments

Comments
 (0)