Giter VIP home page Giter VIP logo

chatreact's Introduction

This is a Next.js project. It's a OpenAI chat UI.

Getting Started

First, run the development server:

npm run dev
# or
yarn next dev

Open http://localhost:3000 with your browser to start chatting with openai. You will have to get a apikey from platform.openai.com first. https://platform.openai.com/account/api-keys To apply your openai key, click the config in the UI and apply it.

Updates: The voice over is nearly done, here's one example.

Localhost.3000.-.Google.Chrome.2023-05-30.13-41-01.mp4

In order to use voice over, you will have to run a local tts server. the demo uses a tts server like this.

tts-server --use_cuda true --model_name tts_models/en/jenny/jenny

if you don't have a powerful gpu, you can use the cpu version

tts-server --model_name tts_models/en/jenny/jenny

I use coqui-tts https://github.com/coqui-ai/TTS but it can work with any tts that has a http webapi

Another demo shows stt, using openai whisper running at local computer. sorry for the loud noises, I was using a webcam.

0ddchatbot.-.Google.Chrome.2023-06-03.15-56-48.mp4

chatreact's People

Contributors

shawhu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chatreact's Issues

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.