Skip to content

Commit 147d0d1

Browse files
committed
update
1 parent 2ac40d3 commit 147d0d1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
api.js

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<script src="https://cdn.tailwindcss.com"></script>
8+
<script src="api.js"></script>
89
<title>Image Gererator using OpenAI API</title>
910
<style>
1011
.min-height {
@@ -57,7 +58,7 @@ <h1 class="text-4xl font-bold mb-10">Image Generator</h1>
5758
</div>
5859
</body>
5960
<script>
60-
const api = "";
61+
6162
if (api === ""){
6263
alert("Use your openAI API key");
6364
}

0 commit comments

Comments
 (0)