Skip to content

Commit

Permalink
Update demo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz authored Jan 8, 2025
1 parent 2b17e06 commit 0dfba03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/ai/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
if account_id is None:
sys.exit("CLOUDFLARE_ACCOUNT_ID is not defined")


client = Cloudflare()

t = client.workers.ai.run(
t = client.ai.run(
"@cf/meta/m2m100-1.2b",
account_id=account_id,
text="I'll have an order of the moule frites",
Expand Down

0 comments on commit 0dfba03

Please sign in to comment.