zach commited on
Commit
e98b5e2
·
1 Parent(s): ec4c5f6

Add pyproject.toml

Browse files
Files changed (4) hide show
  1. README.md +2 -1
  2. pyproject.toml +24 -0
  3. src/constants.py +2 -0
  4. src/types.py +1 -0
README.md CHANGED
@@ -20,6 +20,7 @@ Expressive TTS Arena is an open-source web application that enables users to com
20
  ## Prerequisites
21
 
22
  - Python >=3.11.11
 
23
  - Virtual environment capability
24
  - API keys for Hume AI, Anthropic, and ElevenLabs
25
  - For a complete list of dependencies, see requirements.
@@ -66,7 +67,7 @@ Expressive TTS Arena/
66
  pip install -r requirements.txt
67
  ```
68
 
69
- 3. Install pre-commit hook for automatic file formatting:
70
  ```sh
71
  pre-commit install
72
  ```
 
20
  ## Prerequisites
21
 
22
  - Python >=3.11.11
23
+ - pip >=25.0
24
  - Virtual environment capability
25
  - API keys for Hume AI, Anthropic, and ElevenLabs
26
  - For a complete list of dependencies, see requirements.
 
67
  pip install -r requirements.txt
68
  ```
69
 
70
+ 3. (Optional) If contributing, install pre-commit hook for automatic file formatting:
71
  ```sh
72
  pre-commit install
73
  ```
pyproject.toml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [build-system]
2
+ requires = ["setuptools", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "expressive-tts-arena"
7
+ version = "0.1.0"
8
+ dependencies = [
9
+ "gradio>=5.13.1",
10
+ "python-dotenv>=1.0.1",
11
+ "anthropic>=0.45.2",
12
+ "elevenlabs>=1.50.6",
13
+ "tenacity>=9.0.0",
14
+ "requests>=2.32.3"
15
+ ]
16
+
17
+ [project.optional-dependencies]
18
+ dev = [
19
+ "black==25.1.0",
20
+ "ruff==0.9.3",
21
+ "pytest>=7.0",
22
+ "pre-commit>=3.2.0",
23
+ "mypy>=1.5"
24
+ ]
src/constants.py CHANGED
@@ -4,8 +4,10 @@ constants.py
4
  This module defines global constants used throughout the project.
5
  """
6
 
 
7
  from src.types import OptionKey, TTSProviderName
8
 
 
9
  # UI constants
10
  HUME_AI: TTSProviderName = "Hume AI"
11
  ELEVENLABS: TTSProviderName = "ElevenLabs"
 
4
  This module defines global constants used throughout the project.
5
  """
6
 
7
+ # Third-Party Library Imports
8
  from src.types import OptionKey, TTSProviderName
9
 
10
+
11
  # UI constants
12
  HUME_AI: TTSProviderName = "Hume AI"
13
  ELEVENLABS: TTSProviderName = "ElevenLabs"
src/types.py CHANGED
@@ -6,6 +6,7 @@ of the options map used in the user interface. This ensures that each option
6
  has a consistent structure including both the provider and the associated voice.
7
  """
8
 
 
9
  from typing import TypedDict, Literal, Dict
10
 
11
 
 
6
  has a consistent structure including both the provider and the associated voice.
7
  """
8
 
9
+ # Standard Library Imports
10
  from typing import TypedDict, Literal, Dict
11
 
12