Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YOU.com problem with Image generator & gpt-4 #2195

Open
noneherel opened this issue Aug 27, 2024 · 9 comments
Open

YOU.com problem with Image generator & gpt-4 #2195

noneherel opened this issue Aug 27, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@noneherel
Copy link

noneherel commented Aug 27, 2024

this is my code:

from g4f.client import Client as client_ai
from g4f.Provider import You
client = client_ai(provider=You, image_provider=You)
response = client.images.generate(
    model='dall-e',
    prompt='a white cat on the moon.',
)
image_url = response.data[0].url
print(image_url)

whenever i try to run this code, it appears a chrome pop up window to 'you.com' web.
This is the photo for the pop up window:
Note: I tried to log in with my account but it doesn't work sill the page appears without close or anything else happen.
image

any solution Please?

@noneherel noneherel added the bug Something isn't working label Aug 27, 2024
@Allamaris0
Copy link

It happens because it uses nodriver. I find it annoying, so I use other provider.

@noneherel
Copy link
Author

It happens because it uses nodriver. I find it annoying, so I use other provider.

what is the provider that you're using ?

@Allamaris0
Copy link

It happens because it uses nodriver. I find it annoying, so I use other provider.

what is the provider that you're using ?

I don't use any for creating images ^_^ AI images still aren't enough realistic for me. However when I want to slightly change an image with AI, I use fal with SDXL. It's not in g4f but they have 10$ free credits.

@Parthsadaria
Copy link
Contributor

I use free integration of pollination ai check my repo NEXUAI where I have implemented all

@AppSolves
Copy link

I have the same 'problem' with nodriver, however, when I just login and let it run, nothing happens. The browser does not close, I get no response, etc. As soon as I close the window manually, I get a ConnectionRefusedError: [WinError 1225] The remote computer refused the network connection. May somebody explain what the intention of nodriver is when nothing happens and the browser stays open?

@noneherel
Copy link
Author

I have the same 'problem' with nodriver, however, when I just login and let it run, nothing happens. The browser does not close, I get no response, etc. As soon as I close the window manually, I get a ConnectionRefusedError: [WinError 1225] The remote computer refused the network connection. May somebody explain what the intention of nodriver is when nothing happens and the browser stays open?

that's my point, i want a solution as well. But there's no response from the owners.

@Allamaris0
Copy link

Have you tried that pull request #2207 (comment) ? There are some fixes for you.com

Copy link

github-actions bot commented Sep 9, 2024

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 github-actions bot added the stale label Sep 9, 2024
@noneherel
Copy link
Author

Have you tried that pull request #2207 (comment) ? There are some fixes for you.com

yes i've just tried it, but still the same problem unfortunately ):

@github-actions github-actions bot removed the stale label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants