Comments (5)
seems like you need to raise a ticket with the library that is used openai-whisper ?
https://github.com/openai/whisper
from realchar.
If seems related to the network situation with proxy/IP block thing. Would suggest to test if you can directly connect to whisper API, e.g. like this
curl https://api.openai.com/v1/audio/transcriptions \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: multipart/form-data" \
-F model="whisper-1" \
-F file="@/path/to/file/openai.mp3"
If this doesn't work, it means you network has issue and can't connect to OpenAI
from realchar.
Closing for now, feel free to reopen.
from realchar.
If seems related to the network situation with proxy/IP block thing. Would suggest to test if you can directly connect to whisper API, e.g. like this
curl https://api.openai.com/v1/audio/transcriptions \ -H "Authorization: Bearer $OPENAI_API_KEY" \ -H "Content-Type: multipart/form-data" \ -F model="whisper-1" \ -F file="@/path/to/file/openai.mp3"
If this doesn't work, it means you network has issue and can't connect to OpenAI
I also encountered the same problem, executing this command returned: curl: (26) Failed to open/read local data from file/application.
Does "@/path/to/file/openai.mp3" need to be modified? Or how to do it? Thanks!
from realchar.
@pycui Thanks for the guidance, I tried it and the execution result is as follows:
> curl https://api.openai.com/v1/audio/transcriptions\
-H "Authorization: Bearer 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" \
-H "Content-Type: multipart/form-data" \
-F model="whisper-1" \
-F file="/Users/kevin/1-GR personal/16-XMDM project code/161-WDXM my project/1618-RealChar/realtime_ai_character/audio/training_data/raiden/4.mp3"
curl: (28) Failed to connect to api.openai.com port 443 after 75260 ms: Operation timed out
What should I do?
from realchar.
Related Issues (20)
- I can't hear any voice from charactor
- Error when running python cli.py web-build
- render deployment failed
- python3.10 cli.py run-uvicorn error
- python cli.py run-uvicorn , error!!! HOT 1
- add support for OpenAI / LocalAI TTS endpoint
- /uploadfile 401 Unauthorized (Invalid Authorization credentials) HOT 2
- Open source? HOT 1
- Knowledge does not support markdown
- Why
- Deployment error about websocket HOT 1
- twilio agent only says first sentence
- Voice Detection, good but voice output not
- twilio call not working
- high cpu utilization process (kdevtmpfsi) in docker container realchar_db
- Websocket gets disconnected.
- docker quick start run: openai not work, only rebyte?
- docker run error: Application error: a client-side exception has occurred (see the browser console for more information).
- docker start from new:dependency failed to start: container realchar-backend-1 is unhealthy
- dd support for OpenAI / LocalAI TTS endpoint
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realchar.