Giter Site home page Giter Site logo

Comments (12)

Hk-Gosuto avatar Hk-Gosuto commented on June 26, 2024

检查一下接口调用看看是否正常,如果接口返回正常提供一下使用的浏览器和对应版本,也可能是浏览器 API 兼容问题。
演示环境我刚试了一下是正常的。
image

from chatgpt-next-web-langchain.

Issues-translate-bot avatar Issues-translate-bot commented on June 26, 2024

Bot detected the issue body's language is not English, translate it automatically.


Check the interface call to see if it is normal. If the interface returns normally, please provide the browser used and the corresponding version. It may also be a browser API compatibility issue.
I just tried the demo environment and it is normal.
image

from chatgpt-next-web-langchain.

laye0619 avatar laye0619 commented on June 26, 2024

还是不行,三张图对比一下:

  1. 使用docker部署您的项目
Screenshot 2024-04-09 at 09 51 19
  1. 使用vercel部署您的项目
Screenshot 2024-04-09 at 09 50 54
  1. 使用lobeChat使用同样的API Key成功的截图
Screenshot 2024-04-09 at 09 50 01

from chatgpt-next-web-langchain.

Hk-Gosuto avatar Hk-Gosuto commented on June 26, 2024

docker 和 vercel 版本都没有复现这个问题,你的中转服务是不是不支持 v1/audio/speech 路由的请求?

from chatgpt-next-web-langchain.

Issues-translate-bot avatar Issues-translate-bot commented on June 26, 2024

Bot detected the issue body's language is not English, translate it automatically.


Neither docker nor vercel versions reproduce this problem. Does your transit service not support v1/audio/speech routing requests?

from chatgpt-next-web-langchain.

laye0619 avatar laye0619 commented on June 26, 2024

抱歉哈 中转服务是什么意思?我使用的是官方openai api

from chatgpt-next-web-langchain.

Issues-translate-bot avatar Issues-translate-bot commented on June 26, 2024

Bot detected the issue body's language is not English, translate it automatically.


Sorry, what does transit service mean? I am using the official openai api

from chatgpt-next-web-langchain.

Hk-Gosuto avatar Hk-Gosuto commented on June 26, 2024

就是是否有单独配置 BASE_URL 环境变量,tts 的请求这里只是中转到了 openai 的 v1/audio/speech 接口中,不太可能出现类似 404 的问题。
或者你看下后端的日志中是否有相关的错误信息?

openai 的接口文档:https://platform.openai.com/docs/guides/text-to-speech?lang=curl

from chatgpt-next-web-langchain.

Issues-translate-bot avatar Issues-translate-bot commented on June 26, 2024

Bot detected the issue body's language is not English, translate it automatically.


That is, whether the BASE_URL environment variable is configured separately, the tts request is only forwarded to the v1/audio/speech interface of openai, and it is unlikely that problems like 404 will occur.
Or can you check if there are any relevant error messages in the backend logs?

openai’s interface documentation: https://platform.openai.com/docs/guides/text-to-speech?lang=curl

from chatgpt-next-web-langchain.

laye0619 avatar laye0619 commented on June 26, 2024

感谢大神!问题解决了,是我配置的问题,耽误了您很多时间十分抱歉!

from chatgpt-next-web-langchain.

Issues-translate-bot avatar Issues-translate-bot commented on June 26, 2024

Bot detected the issue body's language is not English, translate it automatically.


Thank you God! The problem has been solved. It was a problem with my configuration. I'm sorry for wasting a lot of your time!

from chatgpt-next-web-langchain.

laye0619 avatar laye0619 commented on June 26, 2024

Close it.

from chatgpt-next-web-langchain.

Related Issues (20)

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.