Skip to content

Commit

Permalink
add video demo
Browse files Browse the repository at this point in the history
  • Loading branch information
tylim88 committed May 2, 2023
1 parent 8d6c4f9 commit bd75ab5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Voice Synthesis

<video src="./demo.mp4" controls="controls" style="max-width: 730px;">
</video>

This web application translates speech into Japanese speech, try it at [voicefu.com](https://voicefu.com/)

Techs:
Expand All @@ -13,11 +16,11 @@ Techs:
## Development Mode

1. Install dependencies with `npm run setup`
1. This project use Firebase Firestore, please enable Firestore in Firebase Console
1. Replace `src/firebase_/config.ts` with your own Firebase config. (Note: This is not a secret but should move to `.env` file to make environment switching easier)
1. Create a `.env` file at project root and paste `VITE_BASE_URL=http://localhost:3001` into it.
1. `npm run dev` to view the website on `http://127.0.0.1:5173/`
1. For Chrome users, Chrome will block localhost with CORS, please install this [Chrome extension](https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf) to allow CORS. Please note that, when the add-on is added to your browser, it is inactive by default (toolbar icon is grey C letter). If you want to activate the add-on, please open the toolbar popup and press the toggle button on the left side. The icon will turn to an orange C letter.
2. This project use Firebase Firestore, please enable Firestore in Firebase Console
3. Replace `src/firebase_/config.ts` with your own Firebase config. (Note: This is not a secret but should move to `.env` file to make environment switching easier)
4. Create a `.env` file at project root and paste `VITE_BASE_URL=http://localhost:3001` into it.
5. `npm run dev` to view the website on `http://127.0.0.1:5173/`
6. For Chrome users, Chrome will block localhost with CORS, please install this [Chrome extension](https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf) to allow CORS. Please note that, when the add-on is added to your browser, it is inactive by default (toolbar icon is grey C letter). If you want to activate the add-on, please open the toolbar popup and press the toggle button on the left side. The icon will turn to an orange C letter.

## Production Mode

Expand Down
Binary file added demo.mp4
Binary file not shown.

0 comments on commit bd75ab5

Please sign in to comment.