2024-05-18 20:46:41 +02:00
|
|
|
<!DOCTYPE html>
|
2024-05-18 15:57:25 +02:00
|
|
|
<html lang="en">
|
2024-05-18 20:46:41 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Upload Image</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
2024-05-18 22:15:20 +02:00
|
|
|
<input type="file" id="imageInput" accept="image/*" required=""> <button onclick="uploadImage()" id="upload-image-btn">Submit Image</button>
|
2024-05-18 20:46:41 +02:00
|
|
|
<br><br>
|
2024-05-18 22:15:20 +02:00
|
|
|
<a href="/YOUR_IMAGE.jpg" download="YOUR_IMAGE.jpg" class="download-button">
|
|
|
|
Download Sample
|
|
|
|
</a>
|
2024-05-18 20:46:41 +02:00
|
|
|
<div id="editable-classes"></div>
|
2024-05-18 22:15:20 +02:00
|
|
|
<button id="add-class-btn">Add Ingredient</button>
|
2024-05-18 20:46:41 +02:00
|
|
|
<div id="suggested-classes"></div>
|
|
|
|
<br>
|
|
|
|
|
2024-05-18 22:15:20 +02:00
|
|
|
<button onclick="generateIngredients()">Generate Recipes</button>
|
2024-05-18 20:46:41 +02:00
|
|
|
<script src="/script.js"></script>
|
|
|
|
</body>
|
2024-05-18 15:57:25 +02:00
|
|
|
</html>
|