maxboddy commited on
Commit
80db2ef
·
verified ·
1 Parent(s): 2541335

Update templates/index.html

Browse files
Files changed (1) hide show
  1. 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><br>
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>