Open Lokii1234 opened 5 months ago
How often did you use the AI? Because the output 'Unable to fetch response' means that something is wrong with your token, as it is not present in resp.text.
How can I get response then
Have you tried Async Client?
If async client doesn't work either, look if an other gpt works
If that doesnt work either and youve waited a certain time (sometimes waiting one day helps because of the servers) i dunno
I haven't tried async thank you for suggesting that
from freeGPT import Client
while True: prompt = input("👦: ") try: resp = Client.create_completion("gpt4", prompt) print(f"🤖: {resp}") except Exception as e: print(f"🤖: {e}") in the above code i am using the gpt4 it is generating the output as "🤖: Unable to fetch the response."