Skip to content

Instantly share code, notes, and snippets.

@dylanholmes
dylanholmes / gtn_flux_icedit_how_to_get_model.md
Last active May 31, 2025 14:47
How to get the model of the "Flux ICEdit" aka "DiptychFluxFillPipeline" node in griptape nodes

Currently, the diffuser variants of the models need to be available in the huggingface cache. There is a little (albeit lacking) documentation here: https://docs.griptapenodes.com/en/stable/how_to/installs/hugging_face/

The tl;dr is:

  1. Install the huggingface-cli
  2. Log in to the huggingface-cli (required because its a gated model)
  3. Download the model for the Flux ICEdit (aka diptych...):
[Skip to content](#overview)
[Star and contribute](https://github.com/griptape-ai/griptape) to Griptape on GitHub!
[Skip to content](#overview)
[Star and contribute](https://github.com/griptape-ai/griptape) to Griptape on GitHub!
[![logo](../../../assets/img/griptape-mark-square-light.svg)](../../.. "Griptape Docs")
Griptape Docs
SQL Drivers
@dylanholmes
dylanholmes / app.py
Created March 18, 2024 13:20
Scrape web page that fits into prompt context length
from dotenv import load_dotenv
from griptape.drivers import MarkdownifyWebScraperDriver
from griptape.structures import Agent
from griptape.loaders import WebLoader
from griptape.tools import WebScraper
load_dotenv() # take environment variables from .env.
url = "https://www.google.com/about/careers/applications/jobs/results#!t=jo&jid=127025001&"
@dylanholmes
dylanholmes / app.py
Last active March 18, 2024 23:01
Scrape web page that exceeds prompt context length
from dotenv import load_dotenv
from griptape.drivers import MarkdownifyWebScraperDriver
from griptape.structures import Agent
from griptape.loaders import WebLoader
from griptape.tools import TaskMemoryClient, WebScraper
load_dotenv()
url = "https://www.kantata.com/careers"
#!/bin/sh
##
# Install autoconf, automake and libtool smoothly on Mac OS X.
# Newer versions of these libraries are available and may work better on OS X
#
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
#
export build=~/devtools # or wherever you'd like to build