gpt4free icon indicating copy to clipboard operation
gpt4free copied to clipboard

Chatgpt-4-turbo not working on streamlit server

Open codewithdark-git opened this issue 1 year ago • 3 comments

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:

Screenshot 2024-03-15 194146

On Server

Screenshot 2024-03-15 200354

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.

codewithdark-git avatar Mar 15 '24 15:03 codewithdark-git

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

XenocodeRCE avatar Mar 23 '24 08:03 XenocodeRCE

I added a , max_retries=5 option some versions ago. Also it wait 15 seconds. That is important.

hlohaus avatar Mar 23 '24 13:03 hlohaus

@hlohaus Can You Help Me in gpt4 Rev Api

1234worldcom avatar Mar 26 '24 13:03 1234worldcom

Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.

github-actions[bot] avatar Apr 07 '24 00:04 github-actions[bot]

Closing due to inactivity.

github-actions[bot] avatar Apr 15 '24 02:04 github-actions[bot]