itembox commited on
Commit
8598ee5
โ€ข
1 Parent(s): 5392854

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +91 -4
index.html CHANGED
@@ -1,5 +1,5 @@
1
  <!DOCTYPE html>
2
- <html lang="en">
3
 
4
  <head>
5
  <meta charset="UTF-8" />
@@ -7,9 +7,94 @@
7
  <title>Transformers.js - WebGPU Background Removal</title>
8
  <script type="module" crossorigin src="/assets/index-17_Va4sS.js"></script>
9
  <link rel="stylesheet" crossorigin href="/assets/index-SojaDS6z.css">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  </head>
11
 
12
  <body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  <div id="container">
14
  <label id="upload-button" for="upload">
15
  <svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -21,10 +106,12 @@
21
  <label id="example">(๋˜๋Š” ์˜ˆ์‹œ ํ™•์ธ)</label>
22
  </label>
23
  </div>
24
- <label id="status"></label>
25
- <input id="upload" type="file" accept="image/*" />
26
 
 
 
27
 
 
 
28
  </body>
29
 
30
- </html>
 
1
  <!DOCTYPE html>
2
+ <html lang="ko">
3
 
4
  <head>
5
  <meta charset="UTF-8" />
 
7
  <title>Transformers.js - WebGPU Background Removal</title>
8
  <script type="module" crossorigin src="/assets/index-17_Va4sS.js"></script>
9
  <link rel="stylesheet" crossorigin href="/assets/index-SojaDS6z.css">
10
+ <style>
11
+ body {
12
+ display: flex;
13
+ flex-direction: column;
14
+ align-items: center;
15
+ justify-content: center;
16
+ min-height: 100vh;
17
+ padding: 16px 32px;
18
+ box-sizing: border-box;
19
+ margin: 0;
20
+ font-family: sans-serif;
21
+ }
22
+
23
+ #description {
24
+ max-width: 640px;
25
+ margin-bottom: 20px;
26
+ padding: 20px;
27
+ background-color: #f3f4f6;
28
+ border-radius: 0.75rem;
29
+ text-align: center;
30
+ }
31
+
32
+ #container {
33
+ position: relative;
34
+ width: 640px;
35
+ height: 420px;
36
+ max-width: 100%;
37
+ max-height: 100%;
38
+ border: 2px dashed #D1D5DB;
39
+ border-radius: 0.75rem;
40
+ overflow: hidden;
41
+ cursor: pointer;
42
+ margin-top: 1rem;
43
+ display: flex;
44
+ flex-direction: column;
45
+ justify-content: center;
46
+ align-items: center;
47
+ }
48
+
49
+ #upload-button {
50
+ gap: 0.4rem;
51
+ font-size: 18px;
52
+ cursor: pointer;
53
+ display: flex;
54
+ flex-direction: column;
55
+ justify-content: center;
56
+ align-items: center;
57
+ }
58
+
59
+ #upload {
60
+ display: none;
61
+ }
62
+
63
+ svg {
64
+ pointer-events: none;
65
+ }
66
+
67
+ #example {
68
+ font-size: 14px;
69
+ text-decoration: underline;
70
+ cursor: pointer;
71
+ }
72
+
73
+ #example:hover {
74
+ color: #2563eb;
75
+ }
76
+ </style>
77
  </head>
78
 
79
  <body>
80
+ <!-- ์„ค๋ช… ์˜์—ญ -->
81
+ <div id="description">
82
+ <p>
83
+ ์ด ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์€ ์ด๋ฏธ์ง€๋ฅผ ์—…๋กœ๋“œํ•˜๋ฉด ์ž๋™์œผ๋กœ ๋ฐฐ๊ฒฝ์„ ์‚ญ์ œํ•ด์ฃผ๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.
84
+ WebGPU ๊ธฐ์ˆ ์„ ํ™œ์šฉํ•˜์—ฌ ๋ธŒ๋ผ์šฐ์ €์—์„œ ์‹ค์‹œ๊ฐ„์œผ๋กœ ์ด๋ฏธ์ง€๋ฅผ ์ฒ˜๋ฆฌํ•˜๊ณ  ๋ฐฐ๊ฒฝ์„ ์ œ๊ฑฐํ•ฉ๋‹ˆ๋‹ค.
85
+ ์‚ฌ์šฉ์ž๋Š” ์—…๋กœ๋“œํ•œ ์ด๋ฏธ์ง€์˜ ์ฃผ์š” ๊ฐ์ฒด๋ฅผ ์‰ฝ๊ฒŒ ๋ถ„๋ฆฌํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ, ๊ฒฐ๊ณผ ์ด๋ฏธ์ง€๋ฅผ ๋‹ค๋ฅธ ์šฉ๋„๋กœ ํ™œ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
86
+ </p>
87
+ <p>
88
+ <strong>์‚ฌ์šฉ ๋ฐฉ๋ฒ•:</strong>
89
+ </p>
90
+ <ul style="list-style: none; padding: 0; text-align: left;">
91
+ <li>ํด๋ฆญํ•˜์—ฌ ์ด๋ฏธ์ง€๋ฅผ ์—…๋กœ๋“œํ•˜๊ฑฐ๋‚˜ "(๋˜๋Š” ์˜ˆ์‹œ ํ™•์ธ)"์œผ๋กœ ์ƒ˜ํ”Œ ์ด๋ฏธ์ง€๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.</li>
92
+ <li>์ด๋ฏธ์ง€๊ฐ€ ์—…๋กœ๋“œ๋˜๋ฉด ์ž๋™์œผ๋กœ ๋ฐฐ๊ฒฝ์ด ์ œ๊ฑฐ๋ฉ๋‹ˆ๋‹ค.</li>
93
+ <li>์ฒ˜๋ฆฌ๋œ ์ด๋ฏธ์ง€๋ฅผ ๋‹ค์šด๋กœ๋“œํ•˜๊ฑฐ๋‚˜ ๋‹ค๋ฅธ ์ž‘์—…์— ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.</li>
94
+ </ul>
95
+ </div>
96
+
97
+ <!-- ์ด๋ฏธ์ง€ ์—…๋กœ๋“œ ์ปจํ…Œ์ด๋„ˆ -->
98
  <div id="container">
99
  <label id="upload-button" for="upload">
100
  <svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
 
106
  <label id="example">(๋˜๋Š” ์˜ˆ์‹œ ํ™•์ธ)</label>
107
  </label>
108
  </div>
 
 
109
 
110
+ <!-- ์ƒํƒœ ๋ ˆ์ด๋ธ” -->
111
+ <label id="status"></label>
112
 
113
+ <!-- ์ˆจ๊ฒจ์ง„ ํŒŒ์ผ ์ž…๋ ฅ -->
114
+ <input id="upload" type="file" accept="image/*" />
115
  </body>
116
 
117
+ </html>