Update templates/index.html
Browse files- templates/index.html +1 -1
templates/index.html
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
</head>
|
12 |
<body>
|
13 |
<h1>手寫字母辨識</h1>
|
14 |
-
<canvas id="canvas" width="280" height="280"></canvas
|
15 |
<button onclick="clearCanvas()">清除</button>
|
16 |
<button onclick="submit()">辨識</button>
|
17 |
<h2 id="result"></h2>
|
|
|
11 |
</head>
|
12 |
<body>
|
13 |
<h1>手寫字母辨識</h1>
|
14 |
+
<canvas id="canvas" width="280" height="280" style="touch-action: none;"></canvas>
|
15 |
<button onclick="clearCanvas()">清除</button>
|
16 |
<button onclick="submit()">辨識</button>
|
17 |
<h2 id="result"></h2>
|