Skip to content

Commit ee620ea

Browse files
committed
Fix backend and image generation
1 parent 7a93324 commit ee620ea

3 files changed

Lines changed: 208 additions & 182 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
106106

107107
- Font Awesome for the icons
108108
- Google Fonts for the Inter font family
109-
- [Add any other acknowledgments]
110109

111110
## Contact
112111

index.html

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
34
<head>
45
<meta charset="UTF-8">
56
<meta name="viewport" content="width=device-width, initial-scale=1.0">
67
<title>AI Image Generator</title>
78
<!-- Linking Font Awesome Icons -->
8-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"/>
9+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" />
910
<link rel="stylesheet" href="style.css">
1011
</head>
12+
1113
<body>
1214
<div class="container">
1315
<!-- Header -->
@@ -28,23 +30,27 @@ <h1>AI Image Generator</h1>
2830
<form action="#" class="prompt-form">
2931
<!-- Prompt Container -->
3032
<div class="prompt-container">
31-
<textarea class="prompt-input" placeholder="Describe your imagination in details..." required autofocus></textarea>
33+
<textarea class="prompt-input" placeholder="Describe your imagination in details..." required
34+
autofocus></textarea>
3235
<button type="button" class="prompt-btn">
3336
<i class="fa-solid fa-dice"></i>
3437
</button>
3538
</div>
3639

3740
<!-- Prompt Actions/Buttons -->
38-
<div class="prompt-actions">
41+
<div class="prompt-actions">
3942
<div class="select-wrapper">
4043
<select class="custom-select" id="model-select" required>
4144
<option value="" selected disabled>Select Model</option>
45+
<!-- Working models -->
46+
<option value="black-forest-labs/FLUX.1-schnell">FLUX.1-schnell</option>
47+
<option value="stabilityai/stable-diffusion-3-medium-diffusers">Stable Diffusion 3 Medium
48+
</option>
49+
<!-- Not working models -->
4250
<option value="black-forest-labs/FLUX.1-dev">FLUX.1-dev</option>
4351
<option value="CompVis/stable-diffusion-v1-4">Stable Diffusion v1.4</option>
4452
<option value="stabilityai/stable-diffusion-xl-base-1.0">Stable Diffusion XL</option>
45-
<option value="stabilityai/stable-diffusion-3-medium-diffusers">Stable Diffusion 3 Medium</option>
4653
<option value="stabilityai/stable-diffusion-2-1">Stable Diffusion 2.1</option>
47-
<option value="black-forest-labs/FLUX.1-schnell">FLUX.1-schnell</option>
4854
<option value="prompthero/openjourney">OpenJourney</option>
4955
<option value="sd-legacy/stable-diffusion-v1-5">Stable Diffusion v1.5</option>
5056
</select>
@@ -73,10 +79,10 @@ <h1>AI Image Generator</h1>
7379
<i class="fa-solid fa-wand-sparkles"></i>
7480
Generate
7581
</button>
76-
</div>
82+
</div>
7783

78-
<!-- Result Gallery Grid -->
79-
<div class="gallery-grid"></div>
84+
<!-- Result Gallery Grid -->
85+
<div class="gallery-grid"></div>
8086
</form>
8187
</div>
8288
</div>
@@ -91,4 +97,5 @@ <h1>AI Image Generator</h1>
9197

9298
<script src="script.js"></script>
9399
</body>
100+
94101
</html>

0 commit comments

Comments
 (0)