Spaces:
Runtime error
Runtime error
carlfeynman
commited on
Commit
•
5c31853
1
Parent(s):
2a8a37d
root html test file
Browse files- index.html +25 -0
index.html
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<title>MNIST Classifier</title>
|
5 |
+
</head>
|
6 |
+
<body>
|
7 |
+
<h1>MNIST Digit Classifier</h1>
|
8 |
+
<p>Draw a digit and click "Classify" to identify it.</p>
|
9 |
+
|
10 |
+
<!-- Canvas for drawing -->
|
11 |
+
<canvas id="canvas" width="200" height="200" style="border: 1px solid black;"></canvas>
|
12 |
+
|
13 |
+
<!-- Classify button -->
|
14 |
+
<button onclick="classifyDigit()">Classify</button>
|
15 |
+
|
16 |
+
<!-- Result display -->
|
17 |
+
<p id="result">Classification result: </p>
|
18 |
+
|
19 |
+
<script>
|
20 |
+
// JavaScript code for drawing and classification will go here
|
21 |
+
|
22 |
+
// You would need to add JavaScript code to handle drawing and classification
|
23 |
+
</script>
|
24 |
+
</body>
|
25 |
+
</html>
|