Skip to content

Commit

Permalink
Add video record
Browse files Browse the repository at this point in the history
  • Loading branch information
furkanmtorun committed Sep 7, 2024
1 parent 45d8774 commit 7d9086a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
# 🤖 Voice Cloning
- Users upload the audio records and clone the voice for given text.
- Learning, having fun and hands-on experience with AWS & Terraform & Serverless architecture.
- Screen recording of the app:

## 🌐 Resources

| Resource | Link |
|---|---|
| Web via Cloudfront | https://dzpqh0mwojrs9.cloudfront.net/ |
| Web via S3 | http://voicecloning-website.s3-website.eu-central-1.amazonaws.com/ |
| API via Cloudfront | http://d20hbh58zkqtxv.cloudfront.net/api/docs |
| API via APIGateway | https://l481bschml.execute-api.eu-central-1.amazonaws.com/api/docs |
https://github.com/user-attachments/assets/551aa3a3-fe2c-4f35-b5a0-c4f711144618

<br>

Expand All @@ -19,6 +13,17 @@

![Architecture.png](./assets/architecture.png)

---

**Resource links (you can read out them from Terraform outputs):**

| Resource | Link |
|---|---|
| Web via Cloudfront | https://<CDN_WEBAPP_ID>.cloudfront.net/ |
| Web via S3 | http://voicecloning-website.s3-website.eu-central-1.amazonaws.com/ |
| API via Cloudfront | http://<CDN_API_ID>.cloudfront.net/api/docs |
| API via APIGateway | https://<APIGateway_API_ID>.execute-api.eu-central-1.amazonaws.com/api/docs |

### 2. AWS

- Install AWS CLI
Expand Down Expand Up @@ -70,6 +75,7 @@ uvicorn main:app --reload
aws cloudfront create-invalidation --distribution-id "EZ0ZFJOIKT14T" --paths "/*"
```
- Future: Remove the hardcoded variables in the code base and replace them with environment variables.
- Future: Implement CI/CD to provision the infra and to deploy the app.
- The model is forked and adapted from https://github.com/jnordberg/tortoise-tts.
* However, this should be changed to main repo https://github.com/neonbjb/tortoise-tts.

Expand Down
Binary file added assets/webapp.mp4
Binary file not shown.
1 change: 0 additions & 1 deletion terraform/iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ resource "aws_iam_policy" "logs_policy" {
})
}

# todo: remove
resource "aws_iam_policy" "lambda_kms_policy" {
name = "LambdaKMSPolicy"
description = "Policy to allow Lambda to decrypt using a specific KMS key"
Expand Down

0 comments on commit 7d9086a

Please sign in to comment.