Giter VIP home page Giter VIP logo

ikaros-521 / voice_talk_chatgpt Goto Github PK

View Code? Open in Web Editor NEW
23.0 2.0 7.0 50 KB

基于Gradio开发的ChatGPT聊天应用,可以文字 或 语音对话,发送的音频通过OpenAI的STT转文本后,再通过ChatGPT生成回复,回复的内容通过OpenAI TTS合成后返回并自动播放,实现语音聊天功能。

Home Page: https://huggingface.co/spaces/Ikaros521/voice_talk_chatgpt

License: GNU General Public License v3.0

Python 100.00%

voice_talk_chatgpt's Introduction

前言

基于Gradio开发的ChatGPT聊天应用,可以文字 或 语音对话,发送的音频通过OpenAI的STT转文本后,再通过ChatGPT生成回复,回复的内容通过OpenAI TTS合成后返回并自动播放,实现语音聊天功能。

使用

在线体验:https://huggingface.co/spaces/Ikaros521/voice_talk_chatgpt

安装Python,个人推荐3.10
安装依赖:pip install -r requirements.txt
运行程序:python app.py
浏览器访问(端口不一定固定,看具体日志输出):http://localhost:7860/
打开页面后,进入配置页完成基础配置后,即可返回对话页进行聊天。

效果图

0 0_}Y(6FS6NE5WZ64T2L L

image

更新日志

  • 2024-02-18
    • tts支持走代理合成
    • 修复tts配置不能配置的bug
    • 新增公网共享和配置本地保存开关,方便共用
  • 2024-02-07
    • 初版demo发布

voice_talk_chatgpt's People

Contributors

ikaros-521 avatar

Stargazers

yang avatar  avatar  avatar  avatar  avatar Edward avatar Simba avatar  avatar SLIGHTLEE avatar 王泽双 avatar  avatar ToClannadQAQ avatar  avatar Krisxg avatar  avatar Lonely sail avatar  avatar FunAI avatar Yuan-Man avatar 逸风 avatar 佐毅 avatar  avatar 賴祺清 avatar

Watchers

Kostas Georgiou avatar  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.