Brandon Thomas
9015efdf9e
real world language header test
2023-01-14 20:20:41 -05:00
Brandon Thomas
2a5634503f
Reorganize tts category handlers
2023-01-14 19:07:57 -05:00
Brandon Thomas
623b82dd0e
fix accept-language for q-factor
2023-01-14 06:54:34 -05:00
Brandon Thomas
9fbafd7fcd
sqlx 0.4.x -> 0.6.x
2023-01-14 06:39:28 -05:00
Brandon Thomas
cc573fe242
return even less nonessential data
2023-01-14 04:32:07 -05:00
Brandon Thomas
c4225ce571
Cache computed TTS category assignments
2023-01-14 04:29:48 -05:00
Brandon Thomas
bc5090af54
Compute and cache TTS model category assignments serverside
2023-01-14 00:13:27 -05:00
Brandon Thomas
8062833e8d
gzip response payloads
2023-01-12 05:36:14 -05:00
Brandon Thomas
30202e6e5a
Fix build errors. This is largely because inference_job is not done
2023-01-11 01:39:48 -05:00
Brandon Thomas
9a263a01a1
more reserved words
2023-01-11 00:33:40 -05:00
Brandon Thomas
b128cdb3f5
inference job handlers
2023-01-11 00:33:40 -05:00
Brandon Thomas
8755e7a533
generic inference job queries
2023-01-11 00:33:40 -05:00
Brandon Thomas
9f873c33e7
Begin refactor of generic inference-job
2023-01-11 00:33:40 -05:00
Brandon Thomas
81302d0e1d
Payload for voice conversion inference records
2023-01-11 00:33:40 -05:00
Brandon Thomas
9e589c2b72
Refactor - db enum types into enums crate
2023-01-11 00:33:40 -05:00
Brandon Thomas
7a33c0721a
enqueue webvc inference work
2023-01-11 00:33:40 -05:00
Brandon Thomas
e1793d71b5
enqueue voice conversion request handler, media synthetic ids, ...
2023-01-11 00:33:40 -05:00
Brandon Thomas
5b20710f96
Upload file to GCS bucket
2023-01-11 00:33:40 -05:00
Brandon Thomas
77e1319b81
'crockford' crate, use crockford entropy for bucket
2023-01-11 00:33:40 -05:00
Brandon Thomas
8061880a83
consolidate upload handling, use new bucket paths
2023-01-11 00:33:40 -05:00
Brandon Thomas
651ed42b64
New 'buckets' crate for cloud storage uploads
2023-01-11 00:33:40 -05:00
Brandon Thomas
e870d6f4de
rename storage_buckets_common crate -> cloud_storage
2023-01-11 00:33:40 -05:00
Brandon Thomas
16a2e765ca
Handle video formats, too
2023-01-11 00:33:40 -05:00
Brandon Thomas
ee7626602a
Calculate duration for audio files without metadata
2023-01-11 00:33:40 -05:00
Brandon Thomas
533cd5e051
Tests + test data for media uploads
2023-01-11 00:33:40 -05:00
Brandon Thomas
7f51ccd01b
file size bytes
2023-01-11 00:33:40 -05:00
Brandon Thomas
f2bfcfeb75
audio codec/encoding
2023-01-11 00:33:40 -05:00
Brandon Thomas
603a678378
new errors crate, cleanup media duration calculation
2023-01-11 00:33:40 -05:00
Brandon Thomas
1ba3215881
organize media/files crates
2023-01-11 00:33:40 -05:00
Brandon Thomas
c4c5b89118
Calculate audio duration millis
2023-01-11 00:33:40 -05:00
Brandon Thomas
9aaee506ed
hash uploaded file
2023-01-11 00:33:40 -05:00
Brandon Thomas
ff12990b01
sort _types crates at the top
2023-01-11 00:33:40 -05:00
Brandon Thomas
45b7af9bd2
detect upload mimetype
2023-01-11 00:33:39 -05:00
Brandon Thomas
a34aedc375
move sqlx impls to reusable macro
2023-01-11 00:33:39 -05:00
Brandon Thomas
cb1e092ccd
tests on derived Display/Debug
2023-01-11 00:33:39 -05:00
Brandon Thomas
07d13a4ab5
proper case for enum mysql insert
2023-01-11 00:33:39 -05:00
Brandon Thomas
43c890b27c
Hack for sqlx to insert enums into varchar, but case still wrong
2023-01-11 00:33:39 -05:00
Brandon Thomas
a1510d45b2
Media uploads "working" from frontend. Need to handle file + upload
2023-01-11 00:33:39 -05:00
Brandon Thomas
32c7354798
Get rid of super legacy CreatorSetVisibility
2023-01-11 00:33:39 -05:00
Brandon Thomas
31bb03d9d3
Sayonara, RecordVisibility
2023-01-11 00:33:39 -05:00
Brandon Thomas
66bb76e60f
Goodbye, 'EntityVisibility'
2023-01-11 00:33:39 -05:00
Brandon Thomas
68f2e46540
more tests on enum types
2023-01-11 00:33:39 -05:00
Brandon Thomas
d08d3cd543
New 'enums' crate for db "enum-like" fields, composite keys, etc.
...
This should be useful for:
- Actual enum fields
- Enum-like char/varchar fields
- Composite keys, polymorphic record behavior, etc.
This should also define how these values are returned over the HTTP API
2023-01-11 00:33:39 -05:00
Brandon Thomas
e7fc93de86
Mild refactor: tokens, reusable_types under types/ directory
2023-01-11 00:33:39 -05:00
Brandon Thomas
deb3671be6
Endpoint for audio uploading
2023-01-11 00:33:39 -05:00
Brandon Thomas
c2f4c2c057
Fix hifigan (softvc) model check
2023-01-11 00:33:39 -05:00
Brandon Thomas
51350e6e5c
default parameters for local download job
2023-01-11 00:33:39 -05:00
Brandon Thomas
5f598dc516
Fix download-job queries and compile errors
2023-01-11 00:33:39 -05:00
Brandon Thomas
7bcde1e490
queries to handle softvc download (insert)
2023-01-11 00:33:39 -05:00
Brandon Thomas
13d00f6edf
partially handle softvc model downloads
2023-01-11 00:33:39 -05:00