Commit Graph
113 Commits
Author SHA1 Message Date
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
Brandon Thomas 47b7c71cdb WIP generic-download-job 2022-08-09 22:06:36 -04:00
Brandon Thomas dbd7e949b7 WIP generic-download-job 2022-08-09 22:06:36 -04:00
Brandon Thomas 08c05cbcf2 Schema changes, endpoints, routes, queries, etc. 2022-08-09 22:06:36 -04:00
Brandon Thomas bf26f7864f Move last remaining jobs out of storyteller-web and into own crates
- w2l-inference-job
- w2l-download-job

These are now in their own independent crates, which should be easier to
do build caching on.
2022-08-04 04:15:55 -04:00
Brandon Thomas d458d753fb Cache W2L templates in-memory 2022-07-27 02:51:48 -04:00
Brandon Thomas fc88730386 Fix tts job count query 2022-07-25 04:49:36 -04:00
Brandon Thomas 61dd01e5c2 Add endpoint to expose pending TTS jobs publicly to the UI 2022-07-25 02:44:47 -04:00
Brandon Thomas 101d145709 Query pending TTS job count (public use) 2022-07-25 02:19:30 -04:00
Brandon Thomas b9fed6a933 Cache model lookups, removing some query load from DB 2022-07-14 20:03:32 -04:00
Brandon Thomas b801f7c19e Edit TTS model with text pipeline type 2022-07-06 01:51:08 -04:00
Brandon Thomas f75f55fa22 Use Rust Enum instead 2022-07-06 01:28:08 -04:00
Brandon Thomas 152a2bfad7 Move queries out of edit TTS model handler. 2022-07-06 00:08:36 -04:00
Brandon Thomas 03c6f1a269 Use HTTP inference arg for text_pipeline_type 2022-07-05 21:07:37 -04:00
Brandon Thomas 5a4be7a580 return text_pipeline_type and guess in TTS model GET endpoint 2022-07-05 18:17:19 -04:00
Brandon Thomas 2dd47cab86 Return a new endpoint-specific struct for tts models 2022-07-05 18:03:07 -04:00
Brandon Thomas 7a883cdebb Move tts-download-job into its own crate independent of storyteller-web 2022-07-03 20:07:43 -04:00
Brandon Thomas 5a584bd6b4 Report tts result debug status 2022-06-25 00:58:07 -04:00
Brandon Thomas ade3162e53 Save debug worker data to tts result record 2022-06-25 00:50:54 -04:00
Brandon Thomas 43824972e5 Worker can now query only debug jobs 2022-06-25 00:31:31 -04:00
Brandon Thomas 956e44a452 report worker hostname for tts results 2022-06-14 00:23:05 -04:00
Brandon Thomas d65022a4cf Rename column, track on-prem in worker code 2022-06-12 01:47:39 -04:00
Brandon Thomas 2ad25bde37 high priority workers (untested, no sql codegen) 2022-05-31 10:15:32 -04:00
Brandon Thomas 88691cfa2d Move storyteller-web monorepo code back to directory root 2022-04-03 02:55:28 -04:00
Brandon Thomas b89be75ab6 Move old storyteller-web project into new subdir 2022-03-26 19:32:02 -04:00
Brandon Thomas 3d696b71ee Add two new EventResponse types: TtsCommandPreset, TtsCommandCustom 2022-03-10 23:37:36 -05:00
Brandon Thomas 30929b051e add health checking 2022-03-06 05:18:15 -05:00
Brandon Thomas 61ee753572 endpoint to kill running queries 2022-03-05 04:50:29 -05:00
Brandon Thomas 2f17465a84 job sorts by priority during, but has starvation prevention + env config 2022-03-03 02:00:32 -05:00
Brandon Thomas 5dfe83fe0f add oauth token internal pk 2022-03-02 05:32:20 -05:00
Brandon Thomas 115aff8855 edit language tags, tts command 2022-03-01 05:47:03 -05:00
Brandon Thomas a976d3e84d add to another endpoint (get) 2022-03-01 04:32:13 -05:00
Brandon Thomas 41d5526c50 return new fields in list 2022-03-01 04:26:57 -05:00
Brandon Thomas 7a77207275 sort by rule order 2022-02-26 20:46:40 -05:00
Brandon Thomas 9633e7515a fixed up, because upsert fails for rquired key 2022-02-26 06:38:55 -05:00
Brandon Thomas dfe902de4b Begin work on "rule reorder", plus tests for unsafe query 2022-02-26 05:29:35 -05:00
Brandon Thomas 7e294d77d7 remove rule order from edit event (since this is awkward in isolation) 2022-02-25 20:29:17 -05:00
Brandon Thomas 75c9c2a00d new "get" endpoint, changed URLs 2022-02-22 04:43:02 -05:00
Brandon Thomas b59d7af915 EventResponse::NotSet also needs to be empty enum for proper json 2022-02-22 00:26:14 -05:00
Brandon Thomas 2c390ca20a had to adjust "NotSet" enum for serialization 2022-02-22 00:16:26 -05:00