Commit Graph
151 Commits
Author SHA1 Message Date
Brandon Thomas 91695cde00 downloader job: handle softvc hifigan 2023-01-11 00:33:39 -05:00
Brandon Thomas 60af0ea36d enum refactor, whew 2023-01-11 00:33:39 -05:00
Brandon Thomas 02bf8808d0 Web + Job queries for generic_inference_jobs 2023-01-11 00:33:39 -05:00
Brandon Thomas 5e0851eb09 fix session / loyalty plan test; mark legacy tokens deprecated 2022-12-13 18:42:18 -05:00
Brandon Thomas 0d3ffd3f3b use DownloadJobToken throughout codebase 2022-12-13 18:26:45 -05:00
Brandon Thomas 110c7f828f simplify UserToken type as a wrapper type 2022-12-12 23:16:44 -05:00
Brandon Thomas b9e2c87025 use UserToken in an existing flow 2022-12-12 22:44:04 -05:00
Brandon Thomas cc56deb27c UserBadge moved to reusable_types 2022-12-06 06:39:10 -05:00
Brandon Thomas 3d3dec1e23 download job can now handle tacotron (untested) 2022-11-27 04:37:49 -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 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 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 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 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 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 4bd0e09e7d Move user profile query to query lib 2022-08-16 01:18:47 -04:00
Brandon Thomas df5e28ec94 query info about vocoders in tts-inference-job 2022-08-10 03:49:15 -04:00
Brandon Thomas 2a10ec5e70 Add custom vocoder info to TTS Model GET endpoint + query 2022-08-10 03:09:16 -04:00
Brandon Thomas 2f360a0475 Update model edit endpoint to include optional vocoder token option 2022-08-10 02:19:49 -04:00
Brandon Thomas 1211262764 vocoder SELECT / get query 2022-08-10 00:57:39 -04:00
Brandon Thomas 419d6bc654 list vocoder endpoint 2022-08-10 00:36:53 -04:00
Brandon Thomas f81b6091b3 queries / endpoints (WIP) 2022-08-09 22:06:36 -04:00
Brandon Thomas 28512b685e Vocoder upload pipeline seems to work! 2022-08-09 22:06:36 -04:00
Brandon Thomas 8696613477 generic-download-job now running (need to test) 2022-08-09 22:06:36 -04:00
Brandon Thomas 962510f784 Fix storyteller-web build 2022-08-09 22:06:36 -04:00