Skip to content

A Griptape Structure that takes an image url, a prompt, and outputs a variation on that image.

Notifications You must be signed in to change notification settings

shhlife/griptape-image-variation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Managed Structure Template

This template is a starting point for creating a Structure with Griptape Cloud Managed Structures. It provides a basic project layout for creating a Managed Structure, but you can customize it to fit your needs.

See the Griptape CLI instructions for how to get started with this template.

Project Structure

The template provides the following project layout:

  • structure/structure.py Contains the Managed Structure code.
  • structure/requirements.txt Contains the dependencies for the Managed Structure. These will be automatically installed when the Structure is registered with Skatepark.
  • example-client/client.py Contains an example client that uses the Managed Structure's API. This is useful for testing your Managed Structure locally but ultimately you will want to integrate your Managed Structure with your own application.
  • example-client/pyproject.toml Contains the dependencies for the example client. Poetry is only used for the example client and is not used by the Managed Structure itself.

Syncing with Upstream

To sync your project with the latest changes from this template, you can run the following command:

  1. Add the template repository as a remote:
git remote add upstream https://github.com/griptape-ai/managed-structure-template.git
  1. Fetch the latest changes from the template repository:
git fetch upstream 
  1. Merge the changes into your project:
git merge upstream/main --allow-unrelated-histories

About

A Griptape Structure that takes an image url, a prompt, and outputs a variation on that image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages