Denizfe commited on
Commit
2224f32
·
verified ·
1 Parent(s): d121696

tahmin et butonunu resim yükle butonunun aşağısına al ve kedi,aslan ve kaplan tahmin tablosunun yana sayfa kaydırılmadan okunucak şekilde tasarla - Follow Up Deployment

Browse files
Files changed (1) hide show
  1. index.html +7 -5
index.html CHANGED
@@ -132,6 +132,8 @@
132
  border-radius: 12px;
133
  width: 100%;
134
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
 
 
135
  }
136
  #label-container div {
137
  transition: all 0.3s;
@@ -231,10 +233,6 @@
231
  </div>
232
 
233
  <div id="webcam-container"></div>
234
- <div class="button-group" style="margin-top: 20px;">
235
- <button type="button" onclick="predict()" id="predictBtn" disabled>Tahmin Et</button>
236
- </div>
237
-
238
  <div class="upload-section">
239
  <h2>Veya Resim Yükle</h2>
240
  <div class="button-group">
@@ -245,7 +243,11 @@
245
  <div id="imagePreview"></div>
246
  </div>
247
 
248
- <div id="label-container"></div>
 
 
 
 
249
  </div>
250
 
251
  <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@latest/dist/tf.min.js"></script>
 
132
  border-radius: 12px;
133
  width: 100%;
134
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
135
+ max-height: 300px;
136
+ overflow-y: auto;
137
  }
138
  #label-container div {
139
  transition: all 0.3s;
 
233
  </div>
234
 
235
  <div id="webcam-container"></div>
 
 
 
 
236
  <div class="upload-section">
237
  <h2>Veya Resim Yükle</h2>
238
  <div class="button-group">
 
243
  <div id="imagePreview"></div>
244
  </div>
245
 
246
+ <div class="button-group" style="margin-top: 20px;">
247
+ <button type="button" onclick="predict()" id="predictBtn" disabled>Tahmin Et</button>
248
+ </div>
249
+
250
+ <div id="label-container" style="max-height: 300px; overflow-y: auto; width: 100%; padding: 10px; background: white; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05);"></div>
251
  </div>
252
 
253
  <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@latest/dist/tf.min.js"></script>