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

Game Character/Layout generation. #332

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Rounaknyk
Copy link

Game Buddy is a text-to-image generator program that utilizes the ps1-graphics-sdxl-v2 model from Hugging Face to generate visual representations based on user-provided text input. The program allows users to:

  • Generate Images: Game Buddy takes text input from the user and generates an image using the ps1-graphics-sdxl-v2 model.

  • Edit Prompts/Input: Users can edit the generated prompt or input to refine the image generation process.

  • Request Image Story: Additionally, Game Buddy offers the option to provide a story related to the generated image. The story is generated using the gemma-7b text generation model.

@Dacksus Dacksus added the integration PRs that add integrations but do not contribute to uAgents framework label Apr 16, 2024
@character_protocol.on_message(model=Character, replies={UAgentResponse})
async def generate_character(ctx: Context, sender: str, msg: Character):
API_URL = "https://api-inference.huggingface.co/models/veryVANYA/ps1-graphics-sdxl-v2"
headers = {"Authorization": f"Bearer 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"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API key exposed

Copy link
Contributor

@gautamgambhir97 gautamgambhir97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly this PR does not meet our integrations PR project requirements please update and see https://github.com/fetchai/uAgents/blob/main/integrations/CONTRIBUTING.md, thanks!

@gautamgambhir97 gautamgambhir97 added the changes requested Contributor must address PR comments to proceed with approval and merging. label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes requested Contributor must address PR comments to proceed with approval and merging. integration PRs that add integrations but do not contribute to uAgents framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants