Giter Club home page Giter Club logo

backend_api_seamless-m4t-v2's Introduction

Web Interface API for facebook/seamless-m4t-v2-large Model Backend Demonstration

Description:

     Demonstration of a web interface for inferring facebook/seamless-m4t-v2-large model via API calls, using Flask as the backend server.

Purposes:

     Demonstration two API calls:

  • Text-to-text translation (T2TT) - t2t
  • Text-to-speech translation (T2ST) - t2s
  • Speech-to-text translation (S2TT) - s2t
  • Speech-to-speech translation (S2ST) - s2s

File Descriptions

  • seamlessm4tv2_api.py: Flask backend API provider for facebook/seamless-m4t-v2-large model.  There are currently four API calls: t2t, t2s, s2t, s2s.

  • model_initializer.py: Loading model.

  • index.html: A web interface to make inferences.

  • seamlessm4tv2_api_s.py: Flask backend API provider for facebook/seamless-m4t-v2-large model with SSL enabled.  There are currently four API calls: t2t, t2s, s2t, s2s.

  • static\index_s.html: A SSL version of web interface to make inferences.

Contributors

     ChatGPT-3.5 the coding machine!

     The voice recording portion is attributed to Bing Chatbot!

Project Attribution

Model from Hugging Face: 
- facebook/seamless-m4t-v2-large

Disclaimer

     This project is provided "as is" and without any warranty. Use it at your own risk.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.