Skip to content

Commit

Permalink
Merge pull request #69 from fireblade2534/master
Browse files Browse the repository at this point in the history
Fixed python tests so they run properly and cleaned up some unneeded …
  • Loading branch information
remsky authored Jan 18, 2025
2 parents 7711c32 + 9d84207 commit 3788d59
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 339 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ examples/phoneme_examples/output/example_3.wav
Kokoro-82M/
ui/data/
EXTERNAL_UV_DOCUMENTATION*
app

# Docker
Dockerfile*
Expand Down
151 changes: 0 additions & 151 deletions api/src/builds/kokoro.py

This file was deleted.

185 changes: 0 additions & 185 deletions api/src/core/kokoro.py

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ gpu = [
"torch==2.5.1+cu121",
]
cpu = [
"torch==2.5.1+cpu",
"torch==2.5.1",
]
test = [
"pytest==8.0.0",
Expand Down
5 changes: 3 additions & 2 deletions ui/lib/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
API_URL = f"http://{API_HOST}:{API_PORT}"

# File paths
INPUTS_DIR = "/app/ui/data/inputs"
OUTPUTS_DIR = "/app/ui/data/outputs"
INPUTS_DIR = "app/ui/data/inputs"
OUTPUTS_DIR = "app/ui/data/outputs"

# Create directories if they don't exist

os.makedirs(INPUTS_DIR, exist_ok=True)
os.makedirs(OUTPUTS_DIR, exist_ok=True)

Expand Down

0 comments on commit 3788d59

Please sign in to comment.