Skip to content

software-students-fall2023/4-containerized-app-exercise-wacotacotruck

Repository files navigation

Workflow Status Workflow Status Workflow Status Workflow Status

Sing & Sync

Build a containerized app that uses machine learning. See instructions for details.

If using Google Chrome, follow these steps to address microphone access issues in the live demo:

  1. Open Chrome Flags:

    • Type chrome://flags/#unsafely-treat-insecure-origin-as-secure in the address bar and press Enter.
  2. Enable Insecure Origins:

    • Add http://159.65.44.240:5001/ in the "Insecure origins treated as secure" section.
    • Change dropdown to 'Enabled'.
  3. Relaunch Chrome:

    • Click 'Relaunch' to apply changes.

Team Members:

Description:

Sing & Sync is a web application that utilizes the power of machine learning to convert your voice into midi. With just a few clicks all you have to do is hum, sing or speak into your microphone and it will automatically convert your voice into a musical composition to which you can use in your own Digital Audio Workstations, Songs, or whatever application you'd like! You can browse through other users midi files and search through whatever sounds great to your ears!

Setup:

Prerequisites:

Before you start the steps below, make sure you have the following downloaded on your system:

Download AWS Command Line Interface:

  1. Go to AWS website and download AWS Command Line Interface based on your operating system.
  2. Go to terminal and type the following line: aws configure
  3. Follow the prompt and provide values:
AWS Access Key ID: <Value for variable AWS_ACCESS_KEY_ID in provided .env file>
AWS Secret Access Key: <Value for variable AWS_SECRET_ACCESS_KEY in provided .env file>
Default region name: us-east-1
Default output format: json

Running the Application:

  1. Clone the repository:
git clone https://github.com/software-students-fall2023/4-containerized-app-exercise-wacotacotruck.git
  1. Navigate to the project directory:
cd 4-containerized-app-exercise-wacotacotruck
  1. Create .env files inside the machine_learning_client/ folder and web_app/ folder each (Variables should be provided to you):
.env for machine_learning_client/ folder:

AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
S3_BUCKET_NAME


.env for web_app/ folder:

MONGO_DBNAME
MONGO_URI
FLASK_APP
GITHUB_SECRET
GITHUB_REPO
APP_SECRET_KEY
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
S3_BUCKET_NAME
  1. Build docker images and run the containers:
docker compose up --build -d
  1. Open the application in your browser:
http://localhost:5001
  1. To stop the containers, run the command:
docker-compose stop

About

4-containerized-app-exercise-wacotacotruck created by GitHub Classroom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published