ntt123 commited on
Commit
ac1be4a
1 Parent(s): 62c7c1f

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +241 -22
index.html CHANGED
@@ -1,24 +1,243 @@
1
  <!DOCTYPE html>
2
  <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>
13
- You can modify this app directly by editing <i>index.html</i> in the
14
- Files and versions tab.
15
- </p>
16
- <p>
17
- Also don't forget to check the
18
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank"
19
- >Spaces documentation</a
20
- >.
21
- </p>
22
- </div>
23
- </body>
24
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <!DOCTYPE html>
2
  <html>
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width">
7
+ <title>English Online Handwriting</title>
8
+ <link href="/style.css" rel="stylesheet" type="text/css" />
9
+ <script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js"></script>
10
+ <script src="model_weights.js"></script>
11
+ <script src="script.js"></script>
12
+ </head>
13
+
14
+ <body>
15
+ <input placeholder="Input your text here" id="user-input"/>
16
+ <select id="writers" name="writers">
17
+ <option value="0"> Writer 0</option>
18
+ <option value="1"> Writer 1</option>
19
+ <option value="2"> Writer 2</option>
20
+ <option value="3"> Writer 3</option>
21
+ <option value="4"> Writer 4</option>
22
+ <option value="5"> Writer 5</option>
23
+ <option value="6"> Writer 6</option>
24
+ <option value="7"> Writer 7</option>
25
+ <option value="8"> Writer 8</option>
26
+ <option value="9"> Writer 9</option>
27
+ <option value="10"> Writer 10</option>
28
+ <option value="11"> Writer 11</option>
29
+ <option value="12"> Writer 12</option>
30
+ <option value="13"> Writer 13</option>
31
+ <option value="14"> Writer 14</option>
32
+ <option value="15"> Writer 15</option>
33
+ <option value="16"> Writer 16</option>
34
+ <option value="17"> Writer 17</option>
35
+ <option value="18"> Writer 18</option>
36
+ <option value="19"> Writer 19</option>
37
+ <option value="20"> Writer 20</option>
38
+ <option value="21"> Writer 21</option>
39
+ <option value="22"> Writer 22</option>
40
+ <option value="23"> Writer 23</option>
41
+ <option value="24"> Writer 24</option>
42
+ <option value="25"> Writer 25</option>
43
+ <option value="26"> Writer 26</option>
44
+ <option value="27"> Writer 27</option>
45
+ <option value="28"> Writer 28</option>
46
+ <option value="29"> Writer 29</option>
47
+ <option value="30"> Writer 30</option>
48
+ <option value="31"> Writer 31</option>
49
+ <option value="32"> Writer 32</option>
50
+ <option value="33"> Writer 33</option>
51
+ <option value="34"> Writer 34</option>
52
+ <option value="35"> Writer 35</option>
53
+ <option value="36"> Writer 36</option>
54
+ <option value="37"> Writer 37</option>
55
+ <option value="38"> Writer 38</option>
56
+ <option value="39"> Writer 39</option>
57
+ <option value="40"> Writer 40</option>
58
+ <option value="41"> Writer 41</option>
59
+ <option value="42"> Writer 42</option>
60
+ <option value="43"> Writer 43</option>
61
+ <option value="44"> Writer 44</option>
62
+ <option value="45"> Writer 45</option>
63
+ <option value="46"> Writer 46</option>
64
+ <option value="47"> Writer 47</option>
65
+ <option value="48"> Writer 48</option>
66
+ <option value="49"> Writer 49</option>
67
+ <option value="50"> Writer 50</option>
68
+ <option value="51"> Writer 51</option>
69
+ <option value="52"> Writer 52</option>
70
+ <option value="53"> Writer 53</option>
71
+ <option value="54"> Writer 54</option>
72
+ <option value="55"> Writer 55</option>
73
+ <option value="56"> Writer 56</option>
74
+ <option value="57"> Writer 57</option>
75
+ <option value="58"> Writer 58</option>
76
+ <option value="59"> Writer 59</option>
77
+ <option value="60"> Writer 60</option>
78
+ <option value="61"> Writer 61</option>
79
+ <option value="62"> Writer 62</option>
80
+ <option value="63"> Writer 63</option>
81
+ <option value="64"> Writer 64</option>
82
+ <option value="65"> Writer 65</option>
83
+ <option value="66"> Writer 66</option>
84
+ <option value="67"> Writer 67</option>
85
+ <option value="68"> Writer 68</option>
86
+ <option value="69"> Writer 69</option>
87
+ <option value="70"> Writer 70</option>
88
+ <option value="71"> Writer 71</option>
89
+ <option value="72"> Writer 72</option>
90
+ <option value="73"> Writer 73</option>
91
+ <option value="74"> Writer 74</option>
92
+ <option value="75"> Writer 75</option>
93
+ <option value="76"> Writer 76</option>
94
+ <option value="77"> Writer 77</option>
95
+ <option value="78"> Writer 78</option>
96
+ <option value="79"> Writer 79</option>
97
+ <option value="80"> Writer 80</option>
98
+ <option value="81"> Writer 81</option>
99
+ <option value="82"> Writer 82</option>
100
+ <option value="83"> Writer 83</option>
101
+ <option value="84"> Writer 84</option>
102
+ <option value="85"> Writer 85</option>
103
+ <option value="86"> Writer 86</option>
104
+ <option value="87"> Writer 87</option>
105
+ <option value="88"> Writer 88</option>
106
+ <option value="89"> Writer 89</option>
107
+ <option value="90"> Writer 90</option>
108
+ <option value="91"> Writer 91</option>
109
+ <option value="92"> Writer 92</option>
110
+ <option value="93"> Writer 93</option>
111
+ <option value="94"> Writer 94</option>
112
+ <option value="95"> Writer 95</option>
113
+ <option value="96"> Writer 96</option>
114
+ <option value="97"> Writer 97</option>
115
+ <option value="98"> Writer 98</option>
116
+ <option value="99"> Writer 99</option>
117
+ <option value="100"> Writer 100</option>
118
+ <option value="101"> Writer 101</option>
119
+ <option value="102"> Writer 102</option>
120
+ <option value="103"> Writer 103</option>
121
+ <option value="104"> Writer 104</option>
122
+ <option value="105"> Writer 105</option>
123
+ <option value="106"> Writer 106</option>
124
+ <option value="107"> Writer 107</option>
125
+ <option value="108"> Writer 108</option>
126
+ <option value="109"> Writer 109</option>
127
+ <option value="110"> Writer 110</option>
128
+ <option value="111"> Writer 111</option>
129
+ <option value="112"> Writer 112</option>
130
+ <option value="113"> Writer 113</option>
131
+ <option value="114"> Writer 114</option>
132
+ <option value="115"> Writer 115</option>
133
+ <option value="116"> Writer 116</option>
134
+ <option value="117"> Writer 117</option>
135
+ <option value="118"> Writer 118</option>
136
+ <option value="119"> Writer 119</option>
137
+ <option value="120"> Writer 120</option>
138
+ <option value="121"> Writer 121</option>
139
+ <option value="122"> Writer 122</option>
140
+ <option value="123"> Writer 123</option>
141
+ <option value="124"> Writer 124</option>
142
+ <option value="125"> Writer 125</option>
143
+ <option value="126"> Writer 126</option>
144
+ <option value="127"> Writer 127</option>
145
+ <option value="128"> Writer 128</option>
146
+ <option value="129"> Writer 129</option>
147
+ <option value="130"> Writer 130</option>
148
+ <option value="131"> Writer 131</option>
149
+ <option value="132"> Writer 132</option>
150
+ <option value="133"> Writer 133</option>
151
+ <option value="134"> Writer 134</option>
152
+ <option value="135"> Writer 135</option>
153
+ <option value="136"> Writer 136</option>
154
+ <option value="137"> Writer 137</option>
155
+ <option value="138"> Writer 138</option>
156
+ <option value="139"> Writer 139</option>
157
+ <option value="140"> Writer 140</option>
158
+ <option value="141"> Writer 141</option>
159
+ <option value="142"> Writer 142</option>
160
+ <option value="143"> Writer 143</option>
161
+ <option value="144"> Writer 144</option>
162
+ <option value="145"> Writer 145</option>
163
+ <option value="146"> Writer 146</option>
164
+ <option value="147"> Writer 147</option>
165
+ <option value="148"> Writer 148</option>
166
+ <option value="149"> Writer 149</option>
167
+ <option value="150"> Writer 150</option>
168
+ <option value="151"> Writer 151</option>
169
+ <option value="152"> Writer 152</option>
170
+ <option value="153"> Writer 153</option>
171
+ <option value="154"> Writer 154</option>
172
+ <option value="155"> Writer 155</option>
173
+ <option value="156"> Writer 156</option>
174
+ <option value="157"> Writer 157</option>
175
+ <option value="158"> Writer 158</option>
176
+ <option value="159"> Writer 159</option>
177
+ <option value="160"> Writer 160</option>
178
+ <option value="161"> Writer 161</option>
179
+ <option value="162"> Writer 162</option>
180
+ <option value="163"> Writer 163</option>
181
+ <option value="164"> Writer 164</option>
182
+ <option value="165"> Writer 165</option>
183
+ <option value="166"> Writer 166</option>
184
+ <option value="167"> Writer 167</option>
185
+ <option value="168"> Writer 168</option>
186
+ <option value="169"> Writer 169</option>
187
+ <option value="170"> Writer 170</option>
188
+ <option value="171"> Writer 171</option>
189
+ <option value="172"> Writer 172</option>
190
+ <option value="173"> Writer 173</option>
191
+ <option value="174"> Writer 174</option>
192
+ <option value="175"> Writer 175</option>
193
+ <option value="176"> Writer 176</option>
194
+ <option value="177"> Writer 177</option>
195
+ <option value="178"> Writer 178</option>
196
+ <option value="179"> Writer 179</option>
197
+ <option value="180"> Writer 180</option>
198
+ <option value="181"> Writer 181</option>
199
+ <option value="182"> Writer 182</option>
200
+ <option value="183"> Writer 183</option>
201
+ <option value="184"> Writer 184</option>
202
+ <option value="185"> Writer 185</option>
203
+ <option value="186"> Writer 186</option>
204
+ <option value="187"> Writer 187</option>
205
+ <option value="188"> Writer 188</option>
206
+ <option value="189"> Writer 189</option>
207
+ <option value="190"> Writer 190</option>
208
+ <option value="191"> Writer 191</option>
209
+ <option value="192"> Writer 192</option>
210
+ <option value="193"> Writer 193</option>
211
+ <option value="194"> Writer 194</option>
212
+ <option value="195"> Writer 195</option>
213
+ <option value="196"> Writer 196</option>
214
+ <option value="197"> Writer 197</option>
215
+ <option value="198"> Writer 198</option>
216
+ <option value="199"> Writer 199</option>
217
+ <option value="200"> Writer 200</option>
218
+ <option value="201"> Writer 201</option>
219
+ <option value="202"> Writer 202</option>
220
+ <option value="203"> Writer 203</option>
221
+ <option value="204"> Writer 204</option>
222
+ <option value="205"> Writer 205</option>
223
+ <option value="206"> Writer 206</option>
224
+ <option value="207"> Writer 207</option>
225
+ <option value="208"> Writer 208</option>
226
+ <option value="209"> Writer 209</option>
227
+ <option value="210"> Writer 210</option>
228
+ <option value="211"> Writer 211</option>
229
+ <option value="212"> Writer 212</option>
230
+ <option value="213"> Writer 213</option>
231
+ <option value="214"> Writer 214</option>
232
+ <option value="215"> Writer 215</option>
233
+ <option value="216"> Writer 216</option>
234
+ <option value="217"> Writer 217</option>
235
+ <option value="218"> Writer 218</option>
236
+ <option value="250">Writer 250</option>
237
+ </select>
238
+ <input id="bias" type="range" min="0" max="100" value="70">
239
+ <button style="margin-left:20px;" class="button button2" id="btn" class="button7" disabled onclick="generate()">Loading model...</button>
240
+ <canvas id="hw-canvas">
241
+ </canvas>
242
+ </body>
243
+ </html>