Comments (7)
The action that builds and publishes the docker images is having issues today, will fix soon: https://github.com/cogentapps/chat-with-gpt/actions/runs/4474836411/jobs/7863877059
In the meantime you can try to build locally by cloning the repo and running: docker build -t chat-with-gpt .
from chat-with-gpt.
Thank you for the quick reply and suggested workaround! Now, I see the microphone button but when pressing it I get this error "Sorry, an error occurred trying to record audio.". The website also doesn't ask for access to the microphone like the version hosted by you does. Manually granting the permission didn't help.
Do I need to configure something with Whisper on my Linux server, or do you have a different idea of what might be the cause of this problem?
from chat-with-gpt.
The hosted site is running the same code, so my first guess is that your browser is blocking access to the microphone because your local server isn’t running HTTPS.
If you’re using Chrome, possible workaround here: https://stackoverflow.com/a/67694562
from chat-with-gpt.
I tried this workaround, but it didn't work, unfortunately. I think I'll try to get HTTPS working and see if that helps.
from chat-with-gpt.
Are there any error messages in the JavaScript console in Chrome developer tools? That would help track down the issue.
from chat-with-gpt.
Yes, there are two errors. The first one appears when loading the page and the second when clicking the microphone button. This is the console output:
main.f004e82c.js:2 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu 69766 @ main.f004e82c.js:2 n @ main.f004e82c.js:2 (anonymous) @ main.f004e82c.js:2 (anonymous) @ main.f004e82c.js:2 (anonymous) @ main.f004e82c.js:2 192.168.1.66/:1 Error handling response: TypeError: Cannot set properties of null (setting 'textContent') at chrome-extension://bkkkaebljlanbmkbkajelmjgcmgaiapd/content.js:188:52 main.f004e82c.js:2 No locale data for en-GB (anonymous) @ main.f004e82c.js:2 d @ main.f004e82c.js:2 (anonymous) @ main.f004e82c.js:2 (anonymous) @ main.f004e82c.js:2 r @ main.f004e82c.js:2 u @ main.f004e82c.js:2 Promise.then (async) r @ main.f004e82c.js:2 s @ main.f004e82c.js:2 (anonymous) @ main.f004e82c.js:2 (anonymous) @ main.f004e82c.js:2 Rx @ main.f004e82c.js:2 (anonymous) @ main.f004e82c.js:2 (anonymous) @ main.f004e82c.js:2 (anonymous) @ main.f004e82c.js:2 (anonymous) @ main.f004e82c.js:2 main.f004e82c.js:2 speech recognition error Error: speech permission was not granted at main.f004e82c.js:2:781268 at d (main.f004e82c.js:2:609309) at Generator.<anonymous> (main.f004e82c.js:2:610652) at Generator.next (main.f004e82c.js:2:609672) at r (main.f004e82c.js:2:603503) at s (main.f004e82c.js:2:603706)
from chat-with-gpt.
You do not need to set the HTTPS, you can do the following:
- Open Chrome and go to chrome://flags/#unsafely-treat-insecure-origin-as-secure
- Enter your site address for example http://192.168.1.1:3000 select enable
- Relaunch Chrome
- Test the site, it should allow you to use the microphone.
from chat-with-gpt.
Related Issues (20)
- Using Elevenlabs Streaming Endpoint for faster T2S responses...
- Docker Run Error
- Is it possible to switch the AI model being used beyond the ones choosable in the UI?
- Save the API keys also in the profile so you can login on different devices?
- Feature request: Support other LLMs
- Is it possible to specify custom api URL
- Config.yaml not recognized HOT 1
- System prompt is forgotten between browsers
- Hosted version is down, https://www.chatwithgpt.ai HOT 14
- Fail to build the docker image
- How to enable proxy mode?
- D-ID integration. use the D-ID api to create a streaming portrait animation from an image and the AI responses
- Context lost suddenly and new messages ignored
- Maintained fork: https://github.com/jp-ipu/chat-with-gpt HOT 2
- OIDC Integration for User Authentication in Chat-with-GPT App
- Streaming issue (maybe) HOT 4
- Your hosted web app is down
- GPT4 Turbo HOT 1
- Maintained with new models
- Integrate APIpie.ai
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 chat-with-gpt.