Skip to content

[Bug]: edge_gpt_free: broken image generation #2297

Description

@Andrej730

Describe the bug | 简述

After cd411c2 ImageGen and ImageGenAsync classes were removed, but they are still used in the code for image generation:

async with ImageGenAsync("", True) as image_generator:
images = await image_generator.get_images(
response["arguments"][0]["messages"][0]["text"],
)

image_generator = ImageGen(Cookie.image_token)
image_generator.save_images(
image_generator.get_images(self.prompt),
output_dir=self.image_dirpath,
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions