BraydenMoore commited on
Commit
7d941cf
·
1 Parent(s): 3dc1e35

Update Templates/index.html

Browse files
Files changed (1) hide show
  1. Templates/index.html +4 -4
Templates/index.html CHANGED
@@ -221,7 +221,7 @@
221
  <h3>Moneyline</h3>
222
  <div class="info"></h3><span class="label">Test Accuracy:</span> 75.4%<br></div>
223
  <div class="content">
224
- <img src="/static/xgboost_ML_75.4%_dark.png" alt="Moneyline Model">
225
  <div class="info">
226
  <span class="label">Model:</span> XGBoost<br>
227
  <span class="label">Train/Test Split:</span> 1782/199<br>
@@ -235,7 +235,7 @@
235
  <h3>Over/Under</h3>
236
  <div class="content">
237
  <div class="info"></h3><span class="label">Test Accuracy:</span> 59.3%<br></div>
238
- <img src="/static/xgboost_OU_59.3%_dark.png" alt="Over/Under Model">
239
  <div class="info">
240
  <span class="label">Model:</span> XGBoost<br>
241
  <span class="label">Train/Test Split:</span> 1782/199<br>
@@ -327,7 +327,7 @@
327
  wrapperDiv.className = 'winner-wrapper';
328
 
329
  const winnerImg = document.createElement('img');
330
- winnerImg.src = `/static/${moneyline.Winner}.webp`;
331
  winnerImg.alt = moneyline.Winner;
332
  winnerImg.width = 50;
333
  winnerImg.className = 'winner-image hidden';
@@ -380,7 +380,7 @@
380
  document.getElementById('submitButton').addEventListener('click', submitData);
381
 
382
  document.addEventListener('keydown', function(event) {
383
- if (event.keyCode === 13) { // 13 is the keyCode for the "Enter" key
384
  submitData();
385
  }
386
  });
 
221
  <h3>Moneyline</h3>
222
  <div class="info"></h3><span class="label">Test Accuracy:</span> 75.4%<br></div>
223
  <div class="content">
224
+ <img src="/Static/xgboost_ML_75.4%_dark.png" alt="Moneyline Model">
225
  <div class="info">
226
  <span class="label">Model:</span> XGBoost<br>
227
  <span class="label">Train/Test Split:</span> 1782/199<br>
 
235
  <h3>Over/Under</h3>
236
  <div class="content">
237
  <div class="info"></h3><span class="label">Test Accuracy:</span> 59.3%<br></div>
238
+ <img src="/Static/xgboost_OU_59.3%_dark.png" alt="Over/Under Model">
239
  <div class="info">
240
  <span class="label">Model:</span> XGBoost<br>
241
  <span class="label">Train/Test Split:</span> 1782/199<br>
 
327
  wrapperDiv.className = 'winner-wrapper';
328
 
329
  const winnerImg = document.createElement('img');
330
+ winnerImg.src = `/Static/${moneyline.Winner}.webp`;
331
  winnerImg.alt = moneyline.Winner;
332
  winnerImg.width = 50;
333
  winnerImg.className = 'winner-image hidden';
 
380
  document.getElementById('submitButton').addEventListener('click', submitData);
381
 
382
  document.addEventListener('keydown', function(event) {
383
+ if (event.keyCode === 13) {
384
  submitData();
385
  }
386
  });