Skip to content

translatorswb/web-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TWB Web demos

A static simple website to demonstrate TWB's language technology services:

Requirements

Required modules are listed in requirements.txt

Installation & Usage

Clone repository and install required modules

$ git clone https://github.com/translatorswb/web-demos.git
$ cd web-demos
$ pip install -r requirements.txt

If you want to connect the API's, specify their URL endpoints in .env. (You can skip this if you like)

MT_API_URL=http://localhost:8001/api/v1/translate
ASR_API_URL=http://localhost:8010/transcribe/

Run the server

$ uvicorn app.main:app --reload --port 8080

Visit http://127.0.0.1:8080/.

Author

Alp Öktem

Sources

Main site architecture by Shinichi Okada

Audio recording logic by addpipe

Kaldi-web interface by dtreskunov

English model by Alpha Cepei

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.