Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<body>
<script type="module">
// You can specify a specific version, branch, or sha: e.g. "https://cdn.jsdelivr.net/gh/nicholascelestin/replicate-js@0.0.6/replicate.js"
const Replicate = await import("https://cdn.jsdelivr.net/gh/nicholascelestin/replicate-js/replicate.js")
const {default: Replicate} = await import("https://cdn.jsdelivr.net/gh/nicholascelestin/replicate-js/replicate.js")
console.log(Replicate)

// set REPLICATE_API_TOKEN environment variable
Expand All @@ -18,4 +18,4 @@
console.log('min dalle prediction:', dalleMiniImage);
</script>
</body>
</html>
</html>