Spaces:
Running
Running
zach
commited on
Commit
Β·
0f77dec
1
Parent(s):
20cccb6
Update project readme
Browse files- README.md +19 -2
- src/database/crud.py +1 -1
- src/static/audio/.gitkeep +0 -0
README.md
CHANGED
|
@@ -30,12 +30,25 @@ Expressive TTS Arena is an open-source web application that enables users to com
|
|
| 30 |
```
|
| 31 |
Expressive TTS Arena/
|
| 32 |
βββ src/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
β βββ integrations/
|
| 34 |
β β βββ __init__.py # Makes integrations a package; exposes API clients
|
| 35 |
β β βββ anthropic_api.py # Anthropic API integration
|
| 36 |
β β βββ elevenlabs_api.py # ElevenLabs API integration
|
| 37 |
β β βββ hume_api.py # Hume API integration
|
| 38 |
-
β βββ
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
β βββ app.py # Entry file
|
| 40 |
β βββ config.py # Global config and logger setup
|
| 41 |
β βββ constants.py # Global constants
|
|
@@ -45,7 +58,11 @@ Expressive TTS Arena/
|
|
| 45 |
βββ .env.example
|
| 46 |
βββ .gitignore
|
| 47 |
βββ .pre-commit-config.yaml
|
| 48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
```
|
| 50 |
|
| 51 |
## Installation
|
|
|
|
| 30 |
```
|
| 31 |
Expressive TTS Arena/
|
| 32 |
βββ src/
|
| 33 |
+
β βββ assets/
|
| 34 |
+
β β βββ styles.css # Defines custom css
|
| 35 |
+
β βββ database/
|
| 36 |
+
β β βββ __init__.py # Makes database a package; exposes methods for persisting votes
|
| 37 |
+
β β βββ crud.py # Defines operations for interacting with database
|
| 38 |
+
β β βββ database.py # Sets up SQLAlchemy database connection
|
| 39 |
+
β β βββ models.py # SQLAlchemy database models
|
| 40 |
β βββ integrations/
|
| 41 |
β β βββ __init__.py # Makes integrations a package; exposes API clients
|
| 42 |
β β βββ anthropic_api.py # Anthropic API integration
|
| 43 |
β β βββ elevenlabs_api.py # ElevenLabs API integration
|
| 44 |
β β βββ hume_api.py # Hume API integration
|
| 45 |
+
β βββ scripts/
|
| 46 |
+
β β βββ __init__.py # Makes scripts a package
|
| 47 |
+
β β βββ init_db.py # Script for initializing database
|
| 48 |
+
β β βββ test_db.py # Script for testing database connection
|
| 49 |
+
β βββ static/
|
| 50 |
+
β β βββ audio/ # Directory for storing generated audio
|
| 51 |
+
β βββ __init__.py # Makes src a package
|
| 52 |
β βββ app.py # Entry file
|
| 53 |
β βββ config.py # Global config and logger setup
|
| 54 |
β βββ constants.py # Global constants
|
|
|
|
| 58 |
βββ .env.example
|
| 59 |
βββ .gitignore
|
| 60 |
βββ .pre-commit-config.yaml
|
| 61 |
+
βββ Dockerfile
|
| 62 |
+
βββ LICENSE.txt
|
| 63 |
+
βββ pyproject.toml
|
| 64 |
+
βββ README.md
|
| 65 |
+
βββ uv.lock
|
| 66 |
```
|
| 67 |
|
| 68 |
## Installation
|
src/database/crud.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
"""
|
| 2 |
crud.py
|
| 3 |
|
| 4 |
-
This module defines the
|
| 5 |
Since vote records are never updated or deleted, only functions to create and read votes are provided.
|
| 6 |
"""
|
| 7 |
|
|
|
|
| 1 |
"""
|
| 2 |
crud.py
|
| 3 |
|
| 4 |
+
This module defines the operations for the Expressive TTS Arena project's database.
|
| 5 |
Since vote records are never updated or deleted, only functions to create and read votes are provided.
|
| 6 |
"""
|
| 7 |
|
src/static/audio/.gitkeep
ADDED
|
File without changes
|