Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

while i am using the gp4 model in the below code #25

Open
Lokii1234 opened this issue Jun 10, 2024 · 4 comments
Open

while i am using the gp4 model in the below code #25

Lokii1234 opened this issue Jun 10, 2024 · 4 comments

Comments

@Lokii1234
Copy link

Lokii1234 commented Jun 10, 2024

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."

@FinleyKurtz16
Copy link

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.

@Lokii1234
Copy link
Author

How can I get response then

@FinleyKurtz16
Copy link

  1. Have you tried Async Client?

  2. If async client doesn't work either, look if an other gpt works

  3. If that doesnt work either and youve waited a certain time (sometimes waiting one day helps because of the servers) i dunno

@Lokii1234
Copy link
Author

I haven't tried async thank you for suggesting that

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants