8000 Update demo.py · cloudflare/cloudflare-python@0dfba03 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 0dfba03

Browse files
authored
Update demo.py
1 parent 2b17e06 commit 0dfba03

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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