Skip to content

Integrate Trellis Generative Art Model via Hugging Face API Using gradio_client #4

Description

@whiteyhat

Description

Integrate the Trellis generative art model hosted on Hugging Face into the platform using the gradio_client library. This feature will enable users to generate art directly through the application.


Acceptance Criteria

  • Establish a connection to the Hugging Face Trellis model endpoint using gradio_client.
  • Create a user interface to input parameters for art generation (e.g., prompt, style options).
  • Display generated art results in the application.
  • Handle errors gracefully, such as invalid input or API failures.

Technical Details


Tasks

  1. Obtain access to the Hugging Face API and ensure the Trellis model endpoint is functional.
  2. Implement backend logic using gradio_client to send generation requests and fetch results.
  3. Design and integrate a user interface for setting art generation parameters.
  4. Test the integration with various inputs and handle edge cases (e.g., invalid prompts).
  5. Document the feature and provide usage guidance for users.

Let me know if you need further customization!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions