Git Product home page Git Product logo

services-ai-gdscmeet's Introduction

AIGDSCMeet - AI GDSCMeet Service

Introduction

AIGDSCMeet is a project that utilizes technologies such as FastAPI, Socket.IO, Gunicorn, PyTorch, CUDA, and Transformers to process and extract information from audio in meetings using GPU acceleration.

System Requirements

Installation

  1. Clone the project from GitHub:

    git clone https://github.com/TrMTu4898/services-ai-gdscmeet.git
    cd services-ai-gdscmeet
  2. Run Docker Compose:

    docker-compose up --build
  3. Access the application at ws://127.0.0.1:5000/

Project Structure

  • APIAI/main.py: Contains the main source code for the FastAPI, Gunicorn, Uvicorn for AI function.
  • AIGDSCMeet/main.py: Container the main source code for SocketIO, FastAPI, Uvicorn connect to the client at the gateway [ws://127.0.0.1:5000/].
  • APIAI/Dockerfile: Dockerfile to build the Docker image for the api alication.
  • AIGDSCMeet/Dockerfile: Dockerfile to build the Docker image for socketIO application.
  • docker-compose.yml: Docker Compose configuration file.
  • APIAI/requirements.txt: List of Python dependencies for APIAI.
  • AIGDSCMeet/requirements.txt: List of Python dependencies for AIDSCMeet.

Usage

  1. After installation and running, access ws://127.0.0.1:5000/ in your web browser.
  2. Instructions for use
  3. Perform actions on the interface to interact with the application.

For example

  • //Initialize socket connection
    const socket = io.connect('ws://127.0.0.1:5000/', {
        auth: user_info
    });
    
    //Connect to the server
    socket.on('connect', () => {
        console.log('Connected to the server!');
    });
    
    //Disconnect from the server
    socket.on('disconnect', () => {
        console.log('Disconnected from the server!');
    });
    
    //Send data to the server
    socket.emit('speech_to_text_result', interimResults)
    
    
    //Receive results from the server
    socket.on('speechToKeywords', (result) => {
        console.log('Speech to Keywords Result:', result);
    });
    

Notes

  • Ensure your computer has a GPU compatible with CUDA for optimal performance of the project.

  • To optimize GPU performance, make sure to install the NVIDIA Docker Toolkit and CUDA Toolkit correctly.

  • If you encounter issues, check the logs of the containers for detailed information.

services-ai-gdscmeet's People

Contributors

trmtu4898 avatar

Watchers

 avatar

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.