gpt4free
gpt4free copied to clipboard
Chatgpt-4-turbo not working on streamlit server
Description:
I'm encountering an issue with the chatgpt-4-turbo model while running my Streamlit app on a server. The model works perfectly fine on my local machine, but when I deploy the app on a Streamlit server, it throws the following error:
"An error occurred: CaptchaChallenge: Use other cookies or/and ip address."
I have ensured that all the requirements are installed properly, including the necessary
Screenshots
On Local machine:
On Server
Environment
- python version : 3.10
- location : Pakistan
Additional context
I have verified that all requirements are installed correctly. Any insights or suggestions on resolving this issue would be greatly appreciated.
It happens for me too, randomly. It's an issue with GPT4 providers. My solution is a loop in the code, if this error msg is detected I just re run the code till it works fine. And it does
I added a , max_retries=5 option some versions ago. Also it wait 15 seconds. That is important.
@hlohaus Can You Help Me in gpt4 Rev Api
Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.
Closing due to inactivity.