Commit Graph

13 Commits

Author SHA1 Message Date
Joel Mathew Thomas a80a851c80 endpoint: /api/resample
- Define new endpoint /api/resample, which takes param : file_uuid, and sr.
- Add Exception Handling for celery tasks
- Correct error message for trim_audio_task
2025-02-26 03:05:41 +05:30
Joel Mathew Thomas 8356394b8a remove redundant code, improve get_audio_file_path()
- Check for file_uuid in request within function
- Check for existence of file within function
- Return appropriate status codes
2025-02-26 02:39:27 +05:30
Joel Mathew Thomas f71d30732f endpoint: /api/trim
- Define new api endpoint /api/trim, params: file_uuid, overwrites exisiting file on server with trimmed audio.
- Remove print messages in freqsplit/postprocessing/audio_writer.export_audio()
- Add new file api/utils.py for commonly used functions
2025-02-26 01:59:33 +05:30
Joel Mathew Thomas 1799713d3b endpoint: /api/normalize
-Add new endpoint /api/normalize, params: file_uuid, overwrites exisisting file on server with normalized audio.
-Remove print statements from src/freqsplit/postprocessing/audio_writer
2025-02-26 00:19:23 +05:30
Joel Mathew Thomas 2256989fda check file format in /api/upload/ 2025-02-25 23:34:54 +05:30
Joel Mathew Thomas 4f86f7a94b /api/upload: synchronously uploads audio, returns file_uuid, classifies audio, returns audio_class 2025-02-25 22:53:49 +05:30
Joel Mathew Thomas 825da48712 use celery for asynchronous tasks, rename session_uuid -> file_uuid 2025-02-25 19:30:58 +05:30
Joel Mathew Thomas 0d35e4e071 use session id's for uploads, return it as a response
also removed classify for api/upload temporarily
2025-02-25 19:07:15 +05:30
Joel Mathew Thomas e61ae413af return audio_class with response for api/upload endpoint 2025-02-25 03:23:59 +05:30
Joel Mathew Thomas 076e3779ef define new route api/upload to upload audio 2025-02-25 02:24:05 +05:30
Joel Mathew Thomas 15b69ae37b set env vars necessary for celery within celery config 2025-01-11 03:00:40 +05:30
Joel Mathew Thomas 9ba02c7deb update gitignore 2025-01-11 02:08:06 +05:30
Joel Mathew Thomas 2608391608 refactor code dir
rename backend/ to api/, remove leftover dir ui/
2025-01-09 11:39:56 +05:30