Skip to content

Commit

Permalink
update workers ai demo to match ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz authored Apr 22, 2024
1 parent fb10151 commit 77cd2ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/workers/ai/demo.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import sys

from cloudflare import Cloudflare
from cloudflare.types.workers.ai_run_response import Translation

account_id = os.getenv("CLOUDFLARE_ACCOUNT_ID")
if account_id is None:
Expand All @@ -18,4 +18,4 @@
source_lang="english",
)

print(t['translated_text'])
# print(t['translated_text'])

0 comments on commit 77cd2ad

Please sign in to comment.