Fix startup crash: ModuleNotFoundError (dependency-conflict)

#36
Files changed (2) hide show
  1. README.md +1 -0
  2. requirements.txt +81 -2
README.md CHANGED
@@ -1,4 +1,5 @@
1
  ---
 
2
  title: CapDec Image Captioning
3
  emoji: 🖼📝
4
  colorFrom: pink
 
1
  ---
2
+ python_version: "3.10"
3
  title: CapDec Image Captioning
4
  emoji: 🖼📝
5
  colorFrom: pink
requirements.txt CHANGED
@@ -1,2 +1,81 @@
1
- git+https://github.com/openai/CLIP.git@main
2
- transformers
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ aiohttp==3.8.3
2
+ aiosignal==1.3.1
3
+ altair==4.2.0
4
+ anyio==3.6.2
5
+ async-timeout==4.0.2
6
+ attrs==22.2.0
7
+ bcrypt==4.0.1
8
+ certifi==2022.12.7
9
+ cffi==1.15.1
10
+ charset-normalizer==2.1.1
11
+ click==8.1.3
12
+ clip @ git+https://github.com/openai/CLIP.git@d05afc436d78f1c48dc0dbf8e5980a9d471f35f6
13
+ contourpy==1.0.7
14
+ cryptography==39.0.0
15
+ cycler==0.11.0
16
+ entrypoints==0.4
17
+ fastapi==0.89.1
18
+ ffmpy==0.3.0
19
+ filelock==3.9.0
20
+ fonttools==4.38.0
21
+ frozenlist==1.3.3
22
+ fsspec==2022.11.0
23
+ ftfy==6.1.1
24
+ gradio==3.13.0
25
+ h11==0.12.0
26
+ httpcore==0.15.0
27
+ httpx==0.23.3
28
+ huggingface-hub==0.11.1
29
+ idna==3.4
30
+ jinja2==3.1.2
31
+ jsonschema==4.17.3
32
+ kiwisolver==1.4.4
33
+ linkify-it-py==1.0.3
34
+ markdown-it-py==2.1.0
35
+ markupsafe==2.1.1
36
+ matplotlib==3.6.3
37
+ mdit-py-plugins==0.3.3
38
+ mdurl==0.1.2
39
+ multidict==6.0.4
40
+ numpy==1.24.1
41
+ nvidia-cublas-cu11==11.10.3.66
42
+ nvidia-cuda-nvrtc-cu11==11.7.99
43
+ nvidia-cuda-runtime-cu11==11.7.99
44
+ nvidia-cudnn-cu11==8.5.0.96
45
+ orjson==3.8.5
46
+ packaging==23.0
47
+ pandas==1.5.2
48
+ paramiko==2.12.0
49
+ pillow==9.4.0
50
+ pycparser==2.21
51
+ pycryptodome==3.16.0
52
+ pydantic==1.10.4
53
+ pydub==0.25.1
54
+ pynacl==1.5.0
55
+ pyparsing==3.0.9
56
+ pyrsistent==0.19.3
57
+ python-dateutil==2.8.2
58
+ python-multipart==0.0.5
59
+ pytz==2022.7.1
60
+ pyyaml==6.0
61
+ regex==2022.10.31
62
+ requests==2.28.2
63
+ rfc3986==1.5.0
64
+ setuptools==65.7.0
65
+ six==1.16.0
66
+ sniffio==1.3.0
67
+ starlette==0.22.0
68
+ tokenizers==0.13.2
69
+ toolz==0.12.0
70
+ torch==1.13.1
71
+ torchvision==0.14.1
72
+ tqdm==4.64.1
73
+ transformers==4.25.1
74
+ typing-extensions==4.4.0
75
+ uc-micro-py==1.0.1
76
+ urllib3==1.26.14
77
+ uvicorn==0.20.0
78
+ wcwidth==0.2.6
79
+ websockets==10.4
80
+ wheel==0.38.4
81
+ yarl==1.8.2