Kang Suhyun commited on
Commit
c838604
1 Parent(s): 619ba0e

[#109] Add requirements.txt file (#110)

Browse files

* [#109] Add requirements.txt file

After introducing Poetry to manage dependencies, the requirements.txt file was removed. However, Hugging Face Space requires this file to handle dependencies.

To resolve this, the requirements.txt file has been added back into the project.
This file will be auto-generated by the `poetry-plugin-export` and `poetry-auto-export` plugins.

* add python version

* 3.12.3

* 3.10

* 3.11

* 3.11

Files changed (4) hide show
  1. README.md +6 -1
  2. poetry.lock +6 -3
  3. pyproject.toml +5 -1
  4. requirements.txt +121 -0
README.md CHANGED
@@ -4,6 +4,7 @@ emoji: ⚔️
4
  colorFrom: red
5
  colorTo: purple
6
  sdk: gradio
 
7
  app_file: app.py
8
  pinned: false
9
  ---
@@ -18,7 +19,11 @@ Get Involved: [Discuss and contribute on GitHub](https://github.com/yanolja/aren
18
 
19
  First, ensure that Poetry is installed. You can install it by following the instructions on the [Poetry website](https://python-poetry.org/docs/#installing-with-pipx).
20
 
21
- After installing Poetry, install the `poetry-plugin-sort` by following the detailed instructions provided on its [GitHub page](https://github.com/andrei-shabanski/poetry-plugin-sort?tab=readme-ov-file#installation).
 
 
 
 
22
 
23
  1. **Activate the virtual environment**
24
 
 
4
  colorFrom: red
5
  colorTo: purple
6
  sdk: gradio
7
+ python_version: 3.11
8
  app_file: app.py
9
  pinned: false
10
  ---
 
19
 
20
  First, ensure that Poetry is installed. You can install it by following the instructions on the [Poetry website](https://python-poetry.org/docs/#installing-with-pipx).
21
 
22
+ After installing Poetry, install the following plugins:
23
+
24
+ - [`poetry-plugin-sort`](https://github.com/andrei-shabanski/poetry-plugin-sort?tab=readme-ov-file#installation)
25
+ - [`poetry-plugin-export`](https://github.com/python-poetry/poetry-plugin-export?tab=readme-ov-file#installation)
26
+ - [`poetry-auto-export`](https://github.com/Ddedalus/poetry-auto-export?tab=readme-ov-file#installation)
27
 
28
  1. **Activate the virtual environment**
29
 
poetry.lock CHANGED
@@ -2312,7 +2312,10 @@ files = [
2312
  ]
2313
 
2314
  [package.dependencies]
2315
- numpy = {version = ">=1.26.0", markers = "python_version >= \"3.12\""}
 
 
 
2316
  python-dateutil = ">=2.8.2"
2317
  pytz = ">=2020.1"
2318
  tzdata = ">=2022.7"
@@ -3858,5 +3861,5 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more
3858
 
3859
  [metadata]
3860
  lock-version = "2.0"
3861
- python-versions = "^3.12"
3862
- content-hash = "61533163a37fea59ffaca062aed48d9d3940f2a88c7fa530c6fc07ed274fe56e"
 
2312
  ]
2313
 
2314
  [package.dependencies]
2315
+ numpy = [
2316
+ {version = ">=1.23.2", markers = "python_version == \"3.11\""},
2317
+ {version = ">=1.26.0", markers = "python_version >= \"3.12\""},
2318
+ ]
2319
  python-dateutil = ">=2.8.2"
2320
  pytz = ">=2020.1"
2321
  tzdata = ">=2022.7"
 
3861
 
3862
  [metadata]
3863
  lock-version = "2.0"
3864
+ python-versions = "^3.11"
3865
+ content-hash = "1a8c3540dde4c9707b6e8907efc355ff494385aa73275e9eb901270a658d9545"
pyproject.toml CHANGED
@@ -1,11 +1,12 @@
1
  [tool.poetry]
 
2
  name = "arena"
3
  version = "0.1.0"
4
  description = ""
5
  readme = "README.md"
6
 
7
  [tool.poetry.dependencies]
8
- python = "^3.12"
9
  firebase-admin = "^6.5.0"
10
  google-cloud-secret-manager = "^2.20.0"
11
  google-generativeai = "^0.5.4"
@@ -13,6 +14,9 @@ gradio = "^4.32.1"
13
  lingua-language-detector = "^2.0.2"
14
  litellm = "^1.39.5"
15
 
 
 
 
16
 
17
  [build-system]
18
  requires = ["poetry-core"]
 
1
  [tool.poetry]
2
+ package-mode = false
3
  name = "arena"
4
  version = "0.1.0"
5
  description = ""
6
  readme = "README.md"
7
 
8
  [tool.poetry.dependencies]
9
+ python = "^3.11"
10
  firebase-admin = "^6.5.0"
11
  google-cloud-secret-manager = "^2.20.0"
12
  google-generativeai = "^0.5.4"
 
14
  lingua-language-detector = "^2.0.2"
15
  litellm = "^1.39.5"
16
 
17
+ [tool.poetry-auto-export]
18
+ output = "requirements.txt"
19
+ without_hashes = true
20
 
21
  [build-system]
22
  requires = ["poetry-core"]
requirements.txt ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ aiofiles==23.2.1 ; python_version >= "3.11" and python_version < "4.0"
2
+ aiohttp==3.9.5 ; python_version >= "3.11" and python_version < "4.0"
3
+ aiosignal==1.3.1 ; python_version >= "3.11" and python_version < "4.0"
4
+ altair==5.3.0 ; python_version >= "3.11" and python_version < "4.0"
5
+ annotated-types==0.7.0 ; python_version >= "3.11" and python_version < "4.0"
6
+ anyio==4.4.0 ; python_version >= "3.11" and python_version < "4.0"
7
+ attrs==23.2.0 ; python_version >= "3.11" and python_version < "4.0"
8
+ cachecontrol==0.14.0 ; python_version >= "3.11" and python_version < "4.0"
9
+ cachetools==5.3.3 ; python_version >= "3.11" and python_version < "4.0"
10
+ certifi==2024.2.2 ; python_version >= "3.11" and python_version < "4.0"
11
+ cffi==1.16.0 ; python_version >= "3.11" and python_version < "4.0" and platform_python_implementation != "PyPy"
12
+ charset-normalizer==3.3.2 ; python_version >= "3.11" and python_version < "4.0"
13
+ click==8.1.7 ; python_version >= "3.11" and python_version < "4.0"
14
+ colorama==0.4.6 ; python_version >= "3.11" and python_version < "4.0" and (platform_system == "Windows" or sys_platform == "win32")
15
+ contourpy==1.2.1 ; python_version >= "3.11" and python_version < "4.0"
16
+ cryptography==42.0.7 ; python_version >= "3.11" and python_version < "4.0"
17
+ cycler==0.12.1 ; python_version >= "3.11" and python_version < "4.0"
18
+ distro==1.9.0 ; python_version >= "3.11" and python_version < "4.0"
19
+ dnspython==2.6.1 ; python_version >= "3.11" and python_version < "4.0"
20
+ email-validator==2.1.1 ; python_version >= "3.11" and python_version < "4.0"
21
+ fastapi-cli==0.0.4 ; python_version >= "3.11" and python_version < "4.0"
22
+ fastapi==0.111.0 ; python_version >= "3.11" and python_version < "4.0"
23
+ ffmpy==0.3.2 ; python_version >= "3.11" and python_version < "4.0"
24
+ filelock==3.14.0 ; python_version >= "3.11" and python_version < "4.0"
25
+ firebase-admin==6.5.0 ; python_version >= "3.11" and python_version < "4.0"
26
+ fonttools==4.52.4 ; python_version >= "3.11" and python_version < "4.0"
27
+ frozenlist==1.4.1 ; python_version >= "3.11" and python_version < "4.0"
28
+ fsspec==2024.5.0 ; python_version >= "3.11" and python_version < "4.0"
29
+ google-ai-generativelanguage==0.6.4 ; python_version >= "3.11" and python_version < "4.0"
30
+ google-api-core==2.19.0 ; python_version >= "3.11" and python_version < "4.0"
31
+ google-api-core[grpc]==2.19.0 ; python_version >= "3.11" and python_version < "4.0"
32
+ google-api-python-client==2.131.0 ; python_version >= "3.11" and python_version < "4.0"
33
+ google-auth-httplib2==0.2.0 ; python_version >= "3.11" and python_version < "4.0"
34
+ google-auth==2.29.0 ; python_version >= "3.11" and python_version < "4.0"
35
+ google-cloud-core==2.4.1 ; python_version >= "3.11" and python_version < "4.0"
36
+ google-cloud-firestore==2.16.0 ; python_version >= "3.11" and python_version < "4.0" and platform_python_implementation != "PyPy"
37
+ google-cloud-secret-manager==2.20.0 ; python_version >= "3.11" and python_version < "4.0"
38
+ google-cloud-storage==2.16.0 ; python_version >= "3.11" and python_version < "4.0"
39
+ google-crc32c==1.5.0 ; python_version >= "3.11" and python_version < "4.0"
40
+ google-generativeai==0.5.4 ; python_version >= "3.11" and python_version < "4.0"
41
+ google-resumable-media==2.7.0 ; python_version >= "3.11" and python_version < "4.0"
42
+ googleapis-common-protos==1.63.0 ; python_version >= "3.11" and python_version < "4.0"
43
+ googleapis-common-protos[grpc]==1.63.0 ; python_version >= "3.11" and python_version < "4.0"
44
+ gradio-client==0.17.0 ; python_version >= "3.11" and python_version < "4.0"
45
+ gradio==4.32.1 ; python_version >= "3.11" and python_version < "4.0"
46
+ grpc-google-iam-v1==0.13.0 ; python_version >= "3.11" and python_version < "4.0"
47
+ grpcio-status==1.62.2 ; python_version >= "3.11" and python_version < "4.0"
48
+ grpcio==1.64.0 ; python_version >= "3.11" and python_version < "4.0"
49
+ h11==0.14.0 ; python_version >= "3.11" and python_version < "4.0"
50
+ httpcore==1.0.5 ; python_version >= "3.11" and python_version < "4.0"
51
+ httplib2==0.22.0 ; python_version >= "3.11" and python_version < "4.0"
52
+ httptools==0.6.1 ; python_version >= "3.11" and python_version < "4.0"
53
+ httpx==0.27.0 ; python_version >= "3.11" and python_version < "4.0"
54
+ huggingface-hub==0.23.2 ; python_version >= "3.11" and python_version < "4.0"
55
+ idna==3.7 ; python_version >= "3.11" and python_version < "4.0"
56
+ importlib-metadata==7.1.0 ; python_version >= "3.11" and python_version < "4.0"
57
+ importlib-resources==6.4.0 ; python_version >= "3.11" and python_version < "4.0"
58
+ jinja2==3.1.4 ; python_version >= "3.11" and python_version < "4.0"
59
+ jsonschema-specifications==2023.12.1 ; python_version >= "3.11" and python_version < "4.0"
60
+ jsonschema==4.22.0 ; python_version >= "3.11" and python_version < "4.0"
61
+ kiwisolver==1.4.5 ; python_version >= "3.11" and python_version < "4.0"
62
+ lingua-language-detector==2.0.2 ; python_version >= "3.11" and python_version < "4.0"
63
+ litellm==1.39.5 ; python_version >= "3.11" and python_version < "4.0"
64
+ markdown-it-py==3.0.0 ; python_version >= "3.11" and python_version < "4.0"
65
+ markupsafe==2.1.5 ; python_version >= "3.11" and python_version < "4.0"
66
+ matplotlib==3.9.0 ; python_version >= "3.11" and python_version < "4.0"
67
+ mdurl==0.1.2 ; python_version >= "3.11" and python_version < "4.0"
68
+ msgpack==1.0.8 ; python_version >= "3.11" and python_version < "4.0"
69
+ multidict==6.0.5 ; python_version >= "3.11" and python_version < "4.0"
70
+ numpy==1.26.4 ; python_version >= "3.11" and python_version < "4.0"
71
+ openai==1.30.5 ; python_version >= "3.11" and python_version < "4.0"
72
+ orjson==3.10.3 ; python_version >= "3.11" and python_version < "4.0"
73
+ packaging==24.0 ; python_version >= "3.11" and python_version < "4.0"
74
+ pandas==2.2.2 ; python_version >= "3.11" and python_version < "4.0"
75
+ pillow==10.3.0 ; python_version >= "3.11" and python_version < "4.0"
76
+ proto-plus==1.23.0 ; python_version >= "3.11" and python_version < "4.0"
77
+ protobuf==4.25.3 ; python_version >= "3.11" and python_version < "4.0"
78
+ pyasn1-modules==0.4.0 ; python_version >= "3.11" and python_version < "4.0"
79
+ pyasn1==0.6.0 ; python_version >= "3.11" and python_version < "4.0"
80
+ pycparser==2.22 ; python_version >= "3.11" and python_version < "4.0" and platform_python_implementation != "PyPy"
81
+ pydantic-core==2.18.3 ; python_version >= "3.11" and python_version < "4.0"
82
+ pydantic==2.7.2 ; python_version >= "3.11" and python_version < "4.0"
83
+ pydub==0.25.1 ; python_version >= "3.11" and python_version < "4.0"
84
+ pygments==2.18.0 ; python_version >= "3.11" and python_version < "4.0"
85
+ pyjwt[crypto]==2.8.0 ; python_version >= "3.11" and python_version < "4.0"
86
+ pyparsing==3.1.2 ; python_version >= "3.11" and python_version < "4.0"
87
+ python-dateutil==2.9.0.post0 ; python_version >= "3.11" and python_version < "4.0"
88
+ python-dotenv==1.0.1 ; python_version >= "3.11" and python_version < "4.0"
89
+ python-multipart==0.0.9 ; python_version >= "3.11" and python_version < "4.0"
90
+ pytz==2024.1 ; python_version >= "3.11" and python_version < "4.0"
91
+ pyyaml==6.0.1 ; python_version >= "3.11" and python_version < "4.0"
92
+ referencing==0.35.1 ; python_version >= "3.11" and python_version < "4.0"
93
+ regex==2024.5.15 ; python_version >= "3.11" and python_version < "4.0"
94
+ requests==2.32.3 ; python_version >= "3.11" and python_version < "4.0"
95
+ rich==13.7.1 ; python_version >= "3.11" and python_version < "4.0"
96
+ rpds-py==0.18.1 ; python_version >= "3.11" and python_version < "4.0"
97
+ rsa==4.9 ; python_version >= "3.11" and python_version < "4"
98
+ ruff==0.4.6 ; python_version >= "3.11" and python_version < "4.0" and sys_platform != "emscripten"
99
+ semantic-version==2.10.0 ; python_version >= "3.11" and python_version < "4.0"
100
+ shellingham==1.5.4 ; python_version >= "3.11" and python_version < "4.0"
101
+ six==1.16.0 ; python_version >= "3.11" and python_version < "4.0"
102
+ sniffio==1.3.1 ; python_version >= "3.11" and python_version < "4.0"
103
+ starlette==0.37.2 ; python_version >= "3.11" and python_version < "4.0"
104
+ tiktoken==0.7.0 ; python_version >= "3.11" and python_version < "4.0"
105
+ tokenizers==0.19.1 ; python_version >= "3.11" and python_version < "4.0"
106
+ tomlkit==0.12.0 ; python_version >= "3.11" and python_version < "4.0"
107
+ toolz==0.12.1 ; python_version >= "3.11" and python_version < "4.0"
108
+ tqdm==4.66.4 ; python_version >= "3.11" and python_version < "4.0"
109
+ typer==0.12.3 ; python_version >= "3.11" and python_version < "4.0"
110
+ typing-extensions==4.12.0 ; python_version >= "3.11" and python_version < "4.0"
111
+ tzdata==2024.1 ; python_version >= "3.11" and python_version < "4.0"
112
+ ujson==5.10.0 ; python_version >= "3.11" and python_version < "4.0"
113
+ uritemplate==4.1.1 ; python_version >= "3.11" and python_version < "4.0"
114
+ urllib3==2.2.1 ; python_version >= "3.11" and python_version < "4.0"
115
+ uvicorn==0.30.0 ; python_version >= "3.11" and python_version < "4.0" and sys_platform != "emscripten"
116
+ uvicorn[standard]==0.30.0 ; python_version >= "3.11" and python_version < "4.0"
117
+ uvloop==0.19.0 ; (sys_platform != "win32" and sys_platform != "cygwin") and platform_python_implementation != "PyPy" and python_version >= "3.11" and python_version < "4.0"
118
+ watchfiles==0.22.0 ; python_version >= "3.11" and python_version < "4.0"
119
+ websockets==11.0.3 ; python_version >= "3.11" and python_version < "4.0"
120
+ yarl==1.9.4 ; python_version >= "3.11" and python_version < "4.0"
121
+ zipp==3.19.0 ; python_version >= "3.11" and python_version < "4.0"