Common problems and solutions that may be encountered when using openai-fm:
- API call failure::
- probe
.envIs the API key in the file correct - Confirm that the key has not expired and has sufficient credit.
- Check your browser console or terminal for detailed error messages
- probe
- Audio cannot be played::
- Check if your browser supports the Web Audio API
- Try changing your browser or clearing your cache
- Confirm that the system volume setting is normal
- Sharing function is disabled::
- Verify that the PostgreSQL Connection String is Correct
- Check if the database service is running
- Verify that the relevant table has been created
- Interface display abnormality::
- (of a computer) run
npm installEnsure that all dependencies are installed correctly - Check for Node.js version compliance (16+)
- Check for console error messages
- (of a computer) run
Other recommendations:
- Check the project's GitHub Issues section if you run into problems, there may already be a solution.
- Detailed records of error messages and occurrence scenarios for easy troubleshooting
- For API usage issues and billing information, see the official OpenAI documentation.
- If the problem is caused by a change in the code, you can use git to roll back to a previous version that worked properly
Most problems can be found by scrutinizing the configuration and log messages.
This answer comes from the articleOpenAI.fm: an interactive demo tool showcasing the OpenAI speech APIsThe































