Skip to content

Commit 2ac40d3

Browse files
committed
remove api key
1 parent acc9740 commit 2ac40d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ <h1 class="text-4xl font-bold mb-10">Image Generator</h1>
5757
</div>
5858
</body>
5959
<script>
60-
const api = "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";
60+
const api = "";
61+
if (api === ""){
62+
alert("Use your openAI API key");
63+
}
6164
const url = "https://api.openai.com/v1/images/generations";
6265
const text = document.getElementById("text");
6366
const image = document.getElementById("image");

0 commit comments

Comments
 (0)