Skip to content

Commit 4fdd1d4

Browse files
committed
use a much faster replicate text2img model
1 parent 7fbe371 commit 4fdd1d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

recipes/use_cases/agents/langchain/langgraph-tool-calling-agent.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@
158158
"def text2image(text: str) -> str:\n",
159159
" \"\"\"generate an image based on a text.\"\"\"\n",
160160
" output = replicate.run(\n",
161-
" \"lucataco/open-dalle-v1.1:1c7d4c8dec39c7306df7794b28419078cb9d18b9213ab1c21fdc46a1deca0144\",\n",
161+
" \"stability-ai/sdxl:7762fd07cf82c948538e41f63f77d685e02b063e37e496e96eefd46c929f9bdc\",\n",
162162
" input={\n",
163163
" \"width\": 1024,\n",
164164
" \"height\": 1024,\n",
165-
" \"prompt\": text, #\"a yellow lab puppy running free with wild flowers in the mountain behind\",\n",
165+
" \"prompt\": text, # a yellow lab puppy running free with wild flowers in the mountain behind\n",
166166
" \"scheduler\": \"KarrasDPM\",\n",
167167
" \"num_outputs\": 1,\n",
168168
" \"guidance_scale\": 7.5,\n",
@@ -849,7 +849,7 @@
849849
"name": "python",
850850
"nbconvert_exporter": "python",
851851
"pygments_lexer": "ipython3",
852-
"version": "3.11.8"
852+
"version": "3.10.14"
853853
}
854854
},
855855
"nbformat": 4,

0 commit comments

Comments
 (0)