GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lvyv/spokenEnglish

BranchesTags
Open more actions menu

Latest commit

 

History

37 Commits
37 Commits

Folders and files

NameName
Last commit message
Last commit date
alembic
alembic
 
 
client
client
 
 
docs
docs
 
 
realtime_ai_character
realtime_ai_character
 
 
test
test
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
alembic.ini
alembic.ini
 
 
cli.py
cli.py
 
 
contribute.md
contribute.md
 
 
env.example
env.example
 
 
package-lock.json
package-lock.json
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

💿 Developers - Installation via Python

  • Step 1. Clone the repo

    git clone https://github.com/lvyv/spokenEnglish.git && cd spokenEnglish
  • Step 2. Install requirements

    Install portaudio and ffmpeg for audio

    # for mac
    brew install portaudio
    brew install ffmpeg
    # for ubuntu
    sudo apt update
    sudo apt install portaudio19-dev
    sudo apt install ffmpeg

    Note:

    • ffmpeg>=4.4 is needed to work with torchaudio>=2.1.0

    • Mac users may need to add ffmpeg library path to DYLD_LIBRARY_PATH for torchaudio to work:

      export DYLD_LIBRARY_PATH=/opt/homebrew/lib:$DYLD_LIBRARY_PATH

      Then install all python requirements

      pip install -r requirements.txt

      If you need a faster local speech to text, install whisperX

      pip install git+https://github.com/m-bain/whisperx.git
  • Step 3. Setup .env:

    cp ..env .env

    Update API keys and configs following the instructions in the .env file.

    Note that some features require a working login system. You can get your own OAuth2 login for free with Firebase if needed. To enable, set USE_AUTH to true and fill in the FIREBASE_CONFIG_PATH field. Also fill in Firebase configs in client/next-web/.env.

  • Step 4. Run backend server in Pycharm IDE:

  • Step 5. Run frontend client:

    • web client:

      Create an .env file under client/next-web/

      cp client/next-web/..env client/next-web/.env

      Adjust .env according to the instruction in client/next-web/README.md.

      Start the frontend server:

      cd client/next-web
      npm install
      npm run dev
  • Step 6

    • Use the following SQL statement to create a scenes table.
    CREATE TABLE scenes (
      id SERIAL PRIMARY KEY,   
      name VARCHAR(255) NOT NULL,   
      image VARCHAR(255) NOT NULL,  
      category VARCHAR(255) NOT NULL  );
  • Step 7

    • Runtext/text.py
  • Step 8

    • Download the checkpoint from here and extract it to the checkpoints folder.
  • Step 9 PostgreSQL extension installation

    • Download the Vector from here
    • Compiling on Windows requires you to download Visual Studio first
    • Select C++ during installation
    • After the installation is complete, open cmd in Administrator Mode and execute the following commands in turn to complete the installation.
      call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
      cd C:\Users\xxx\Downloads\vector-0.7.3
      set "PGROOT=C:\Program Files\PostgreSQL\16"
      nmake /F Makefile.win
      nmake /F Makefile.win install
    • Finally, in the database connection tool, select the specific database instance and run the following command to expand the vector type.
    CREATE EXTENSION vector;
    After running these commands, a local development server will start, and your default web browser will open a new tab/window pointing to this server (usually http://localhost:3000).
    

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.