Skip to content

Commit 0d884c2

Browse files
Update script.js
1 parent 84cc863 commit 0d884c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const imageresult = document.querySelector("#image_result");
44
const downloadBtn = document.querySelector(".download-btn");
55

66
// Replace 'your-api-key' with your actual OpenAI API key
7-
const openaiAPIKey = "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";
7+
const openaiAPIKey = "your-api-key";
88
let isImgGen = false;
99

1010
// Function to update image boxes with generated images
@@ -83,4 +83,4 @@ const handlePrompt = (e) => {
8383
}
8484

8585
// Add event listener for form submission
86-
promptBar.addEventListener("submit", handlePrompt);
86+
promptBar.addEventListener("submit", handlePrompt);

0 commit comments

Comments
 (0)