Open abeiro opened 4 weeks ago
The recent update introduces a new feature to the xtts_api_server
by adding an endpoint for WAV file uploads. This endpoint, upload_sample
, allows users to upload WAV files, which are then saved to a specified directory. Additionally, the requirements.txt
file has been updated to include the python-multipart
package, which is necessary for handling file uploads.
Files | Change Summary |
---|---|
requirements.txt |
Added the python-multipart package to the list of dependencies. |
xtts_api_server/server.py |
Introduced a new endpoint upload_sample for uploading and saving WAV files. |
sequenceDiagram
participant Client
participant Server
Client->>Server: POST /upload_sample (with WAV file)
Server-->>Server: Save WAV file to directory
Server-->>Client: Return filename
In the server's heart, a new beat, WAV files upload, quite the feat. Multipart package joins the crew, FastAPI's journey, fresh and new. 🎵✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Great, thanks, I'll take a look tomorrow. I've been trying to add it myself but haven't had the time )
Summary by CodeRabbit
New Features
Dependencies
python-multipart
package to support file uploads.