MeloChat is an chatbot project that merges Golang, Python's Flask, and Solid.js to create a music-generating tool. This app leverages the Audiocraft model to enhance its capabilities in generating music and delivering audio interactions. Acquire the Audiocraft Hugging Face model from Hugging Face.
Example of the app interface. (Duration is set to 1 sec for testing.)To start the application, follow these simple steps:
-
Configure Model Configurations: Customize the configurations within the relevant files for Golang Echo and Flask.
-
Install Golang: Ensure Golang is installed on your system.
-
Install Python and Flask: Verify Python is installed, then install Flask using pip.
-
Install Node.js and npm: Confirm Node.js and npm are installed on your system.
-
Run Backend Servers: Navigate to the backend directory and execute
make run-local
. -
Run Frontend: Access the frontend directory and perform
npm install
, followed bynpm run start-electron
to launch the Solid.js frontend server.
This project is licensed under the MIT License.