Brandon Thomas
d28fb07d6d
Clean up new consolidated downloader so it can be deployed
2022-12-01 21:44:32 -05:00
Brandon Thomas
3d3dec1e23
download job can now handle tacotron (untested)
2022-11-27 04:37:49 -05:00
Brandon Thomas
1ac61b7748
GPU support for docker commands
2022-11-27 03:28:30 -05:00
Brandon Thomas
24c9cc2d08
subprocess stuff in its own lib
2022-11-27 03:10:01 -05:00
Brandon Thomas
2392062276
Download script works with docker image
2022-11-27 02:45:17 -05:00
Brandon Thomas
94c74eb9e0
Refactor download job to be easier to generalize
2022-11-26 21:44:41 -05:00
Brandon Thomas
507f97bef5
note on subscription statuses
2022-11-18 05:27:53 -05:00
Brandon Thomas
a3234b3cb4
Add max_decoder_steps / max_duration_seconds to tts job
2022-11-17 21:41:16 -05:00
Brandon Thomas
00ab91b05c
new development stripe plan, minor method name refactor
2022-11-15 23:31:30 -05:00
Brandon Thomas
2d2a0b68ff
fix errors from last yolo-commit
2022-11-13 17:37:12 -05:00
Brandon Thomas
a211d45f26
on-prem worker stats
2022-11-13 16:42:18 -05:00
Brandon Thomas
fb99af8a23
Log failure metadata for TTS inference jobs
2022-11-02 22:51:47 -04:00
Brandon Thomas
5377cca3b1
TTS now has premium features
2022-11-02 04:36:19 -04:00
Brandon Thomas
3efe1afa48
Migrations to change/rename some columns
2022-11-01 23:33:59 -04:00
Brandon Thomas
6b4d0b3ad1
Adding premium info to sessions
2022-11-01 06:39:59 -04:00
Brandon Thomas
23f6e74fd8
ugh, a gross refactor commit
2022-11-01 03:19:08 -04:00
Brandon Thomas
4584e9dbcf
Cors and local nginx configs for dev.fakeyou.com etc.
2022-10-31 01:31:46 -04:00
Brandon Thomas
2ca477fd8c
Better environment-based URL configuration
2022-10-31 00:07:34 -04:00
Brandon Thomas
13487a9046
Fix bug with upsert not changing the product key
2022-10-30 05:25:22 -04:00
Brandon Thomas
15c9c1256b
Stripe customer portal (subscription cancellation / modification)
2022-10-30 04:57:10 -04:00
Brandon Thomas
468d2d1d75
stupid time bomb
2022-10-09 05:46:49 -04:00
Brandon Thomas
c8ba2d1863
include price, make adjustments to subscription product/price
2022-09-19 06:30:49 -04:00
Brandon Thomas
6ea1bf3226
handle events with idempotency by ignoring replays
2022-09-19 04:11:35 -04:00
Brandon Thomas
334fc3022e
record whether webhook events had actions taken, idempotency flag
2022-09-19 03:54:32 -04:00
Brandon Thomas
3fb26771de
subscription interval tracked
2022-09-19 03:35:30 -04:00
Brandon Thomas
ba448ccc50
record subscription billing periods, start date
2022-09-19 02:09:35 -04:00
Brandon Thomas
fd3081e440
Track status as an enum, don't update at terminal state
2022-09-19 01:36:01 -04:00
Brandon Thomas
66981c4d2c
Track subscription status
2022-09-19 00:26:16 -04:00
Brandon Thomas
c6a1fc18d6
coalesce nulls
2022-09-19 00:12:21 -04:00
Brandon Thomas
afb77393c0
Don't update on create if already existing, make user token optional
2022-09-19 00:02:52 -04:00
Brandon Thomas
a2e71d8944
Handle subscription update and create
2022-09-18 23:26:39 -04:00
Brandon Thomas
faf689dc09
log more info from webhooks
2022-09-17 13:33:22 -04:00
Brandon Thomas
aec31779b8
store webhook logs
2022-09-17 13:02:10 -04:00
Brandon Thomas
f81d40b5bb
Make logging less verbose
2022-09-10 05:42:50 -04:00
Brandon Thomas
ab0180a591
Update s3 bucket client to respect timeout arg
2022-09-09 00:45:44 -04:00
Brandon Thomas
40e92a1b24
Use no-op Redis status logger optionally
2022-09-08 15:22:52 -04:00
Brandon Thomas
bf9bc013df
New dynamic job progress reporter with no-op version
2022-09-08 14:56:35 -04:00
Brandon Thomas
d1e261e633
no longer fail tests (timebomb bump)
2022-09-01 23:43:31 -04:00
Brandon Thomas
4284aeced6
Substantial refactor: pull user system (except mod controls) into crate
...
This has been tested in storyteller-web to ensure it still works
2022-09-01 23:33:21 -04:00
Brandon Thomas
d047fa50a9
Successfully move one "user" endpoint into new package
2022-09-01 17:25:13 -04:00
Brandon Thomas
3477cc395b
refactor
2022-08-29 04:49:51 -04:00
Brandon Thomas
84c616b6f6
New lib and service crates
2022-08-29 00:28:26 -04:00
Brandon Thomas
1da020abd4
Use single connector with list TTS endpoint
2022-08-17 19:41:30 -04:00
Brandon Thomas
68fec1c8da
leaderboard endpoint now uses connection pool (granted, not great)
2022-08-16 21:58:24 -04:00
Brandon Thomas
efe7248ce9
list_tts_model_categories endpoint now uses single connection from pool
2022-08-16 21:29:30 -04:00
Brandon Thomas
6dfe929655
list_tts_categories endpoint now uses single db connection from pool
2022-08-16 21:21:50 -04:00
Brandon Thomas
43f441693e
Update get_tts_models to use single pooled connection
2022-08-16 20:52:29 -04:00
Brandon Thomas
d393ecda34
All queries to user profile controller use a single DB connection
...
- Pull a single connection out of the pool and reuse it
- Update the benchmark code to handle ownership changes (previously,
I think everything was Sync/Send in the closures)
2022-08-16 18:49:25 -04:00
Brandon Thomas
70daacf559
Profile endpoint instrumented
2022-08-16 02:26:00 -04:00
Brandon Thomas
4bd0e09e7d
Move user profile query to query lib
2022-08-16 01:18:47 -04:00