wenbin151 / D-id_Streaming_Chatgpt_Llama2

D-id_Streaming_Chatgpt_Llama2 running local

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streaming Live Demo local model with D-ID

Initial Setup:

  • (install express) open a terminal in the folder: run this: npm install express
  • (add your d-id api key) edit the api.json inside the uncompressed folder and replace the emoji with your key
  • Run a test to ensure yor api is set correctly by checking d-id credit balance: node test_d-id.js
  • Got issues? Cut and paste errors to ChatGPT and ask for assistance

Start the demo:

  • You should see this message - server started on port localhost:3000
  • (open index.html app) in the browser add localhost:3000

Start the demo:

  • Open a session in your terminal in the folder with our code run this: node app.js
  • You should see this message - server started on port localhost:3000
  • (open index.html app) in the browser add localhost:3000
  • (connect) press connect you should see the connection ready
  • (Enter Chat Text) press the start button to start streaming

Final Thoughts

About

D-id_Streaming_Chatgpt_Llama2 running local

License:MIT License


Languages

Language:JavaScript 68.4%Language:HTML 31.6%