Spaces:
Running
Running
Commit
·
8545382
1
Parent(s):
906dccc
Update index.html
Browse files- index.html +33 -23
index.html
CHANGED
|
@@ -1,24 +1,34 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
| 7 |
+
<title>Cat or Dog predictor</title>
|
| 8 |
+
<link rel="stylesheet" href="https://unpkg.com/mvp.css">
|
| 9 |
+
</head>
|
| 10 |
+
<body>
|
| 11 |
+
<a href="https://github.com/nuvic/predict_image"><img loading="lazy" width="149" height="149" src="https://github.blog/wp-content/uploads/2008/12/forkme_left_green_007200.png?resize=149%2C149" class="attachment-full size-full" alt="Fork me on GitHub" data-recalc-dims="1"></a>
|
| 12 |
+
<header>
|
| 13 |
+
<h1>Predict a dog or cat from an image</h1>
|
| 14 |
+
<p>Model provided by <a href="https://github.com/fastai/fastai">fastai</a> and api hosted by <a href="https://hf.space/embed/jph00/testing/api" target="_blank">hugging face</a>
|
| 15 |
+
</p>
|
| 16 |
+
<a href="https://github.com/nuvic/predict_image" target="_blank">Github Repo</a>
|
| 17 |
+
</header>
|
| 18 |
+
<main>
|
| 19 |
+
<header>
|
| 20 |
+
<h2>Submit a picture of either a cat or dog</h2>
|
| 21 |
+
<p id="prediction"></p>
|
| 22 |
+
<p id="error"></p>
|
| 23 |
+
</header>
|
| 24 |
+
<section>
|
| 25 |
+
<img id="myImage" height="400" width="400">
|
| 26 |
+
<form id="form">
|
| 27 |
+
<label for="fileInput"></label>
|
| 28 |
+
<input id="fileInput" type="file" onchange="onFileSelected(event)" name="File">
|
| 29 |
+
</form>
|
| 30 |
+
</section>
|
| 31 |
+
</main>
|
| 32 |
+
<script src="index.js"></script>
|
| 33 |
+
</body>
|
| 34 |
+
</html>
|