Spaces:
Running
Running
dgbkn
commited on
Commit
·
478099f
1
Parent(s):
e40bb12
deone
Browse files- static/pill_upload.html +4 -4
- static/wheat_upload.html +3 -3
static/pill_upload.html
CHANGED
@@ -24,10 +24,10 @@
|
|
24 |
<h1 class="text-2xl font-bold mb-4">Upload an Image</h1>
|
25 |
<input type="file" id="fileInput" accept="image/*" capture="environment" class="hidden">
|
26 |
|
27 |
-
<button id="cameraButton">Take Photo</button>
|
28 |
-
<button id="galleryButton">Choose from Gallery</button>
|
29 |
-
|
30 |
-
<img src="/upload.png" alt="Click to Upload" class="clickable-image mb-4" onclick="triggerFileInput()">
|
31 |
|
32 |
|
33 |
<button onclick="uploadImage()" class="bg-blue-500 text-white px-4 py-2 rounded">Upload</button>
|
|
|
24 |
<h1 class="text-2xl font-bold mb-4">Upload an Image</h1>
|
25 |
<input type="file" id="fileInput" accept="image/*" capture="environment" class="hidden">
|
26 |
|
27 |
+
<button id="cameraButton" class="bg-red-500 text-white px-4 py-2 rounded">Take Photo</button>
|
28 |
+
<button id="galleryButton" class="bg-green-500 text-white px-4 py-2 rounded">Choose from Gallery</button>
|
29 |
+
|
30 |
+
<!-- <img src="/upload.png" alt="Click to Upload" class="clickable-image mb-4" onclick="triggerFileInput()"> -->
|
31 |
|
32 |
|
33 |
<button onclick="uploadImage()" class="bg-blue-500 text-white px-4 py-2 rounded">Upload</button>
|
static/wheat_upload.html
CHANGED
@@ -24,10 +24,10 @@
|
|
24 |
<h1 class="text-2xl font-bold mb-4">Upload an Image</h1>
|
25 |
<input type="file" id="fileInput" accept="image/*" capture="environment" class="hidden">
|
26 |
|
27 |
-
<button id="cameraButton">Take Photo</button>
|
28 |
-
<button id="galleryButton">Choose from Gallery</button>
|
29 |
|
30 |
-
<img src="/upload.png" alt="Click to Upload" class="clickable-image mb-4" onclick="triggerFileInput()">
|
31 |
|
32 |
<!-- Dropdown for selecting model_id -->
|
33 |
<select id="modelSelect" class="mb-4 px-4 py-2 border rounded">
|
|
|
24 |
<h1 class="text-2xl font-bold mb-4">Upload an Image</h1>
|
25 |
<input type="file" id="fileInput" accept="image/*" capture="environment" class="hidden">
|
26 |
|
27 |
+
<button id="cameraButton" class="bg-red-500 text-white px-4 py-2 rounded">Take Photo</button>
|
28 |
+
<button id="galleryButton" class="bg-green-500 text-white px-4 py-2 rounded">Choose from Gallery</button>
|
29 |
|
30 |
+
<!-- <img src="/upload.png" alt="Click to Upload" class="clickable-image mb-4" onclick="triggerFileInput()"> -->
|
31 |
|
32 |
<!-- Dropdown for selecting model_id -->
|
33 |
<select id="modelSelect" class="mb-4 px-4 py-2 border rounded">
|