Closed Mohamed01555 closed 1 year ago
The same thing happens to me as well. It's likely that there's an issue with tls_client. My only option is to use something other than tls_client; I'll be doing that soon.
Do you think that both streamlit and hugging face restricted their servers not to scrap data from websites ? I think so because if the issue is in tls_client ,it will not work locally, but since it worked then the issue is in their servers What is your opinion?
Also when I converted my web app to executable file also it didn't fetch the response , I am astonishing regarding this? Any contribution will be appreciated.
The last one, why did you use tls_client not requests or aiohttp like in your gpt3 script?
I built an app depends on your
gpt4.py
script and it works properly locally, however, when I hosted my app on streamlit and Huggingface spaces both of them replied with theException ("Unable to fetch response.")
. Note that both servers acceptgpt3.py
script and fetch the answer using it without problems. I asked ChatGPT and gave him the code of both scripts and he replied that the issue may be with thetls_client
library what is the reason of this ? and how can i solve it?