-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
25 lines (23 loc) · 803 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from setuptools import setup, find_packages
setup(
name='tifascore',
version='1.1.0',
description='TIFA: Text-to-Image Faithfulness Evaluation with Question Answering',
url='https://github.com/Yushi-Hu/tifa',
author='Yushi Hu',
license='Apache License 2.0',
packages=find_packages("tifascore"),
install_requires=['numpy',
'torch',
'tqdm',
'word2number',
'Pillow',
'openai>=0.27.2',
'transformers>=4.31.0',
'fairseq',
'evaluate',
'salesforce-lavis',
'modelscope[multi-modal]',
'promptcap>=1.0.3',
],
)