8000 fix(example): update example to reflect new structure · cloudflare/cloudflare-python@d723b37 · GitHub
[go: up one dir, main page]

Skip to content

Commit d723b37

Browse files
committed
fix(example): update example to reflect new structure
1 parent 582142f commit d723b37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/workers/ai/demo.py renamed to examples/ai/demo.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77
if account_id is None:
88
sys.exit("CLOUDFLARE_ACCOUNT_ID is not defined")
99

10-
1110
client = Cloudflare()
1211

13-
t = client.workers.ai.run(
12+
t = client.ai.run(
1413
"@cf/meta/m2m100-1.2b",
1514
account_id=account_id,
1615
text="I'll have an order of the moule frites",

0 commit comments

Comments
 (0)
0