Upload 3 files
Browse files- assets/index-E_M5nW8h.js +0 -0
- assets/index-SojaDS6z.css +1 -0
- index.html +5 -2
assets/index-E_M5nW8h.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
assets/index-SojaDS6z.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
*{box-sizing:border-box;padding:0;margin:0;font-family:sans-serif}html,body{height:100%}body{padding:16px 32px}body,#container,#upload-button{display:flex;flex-direction:column;justify-content:center;align-items:center}h1,h4{text-align:center}h4{margin-top:.5rem}#container{position:relative;width:720px;height:480px;max-width:100%;max-height:100%;border:2px dashed #D1D5DB;border-radius:.75rem;overflow:hidden;margin-top:1rem;background-size:100% 100%;background-position:center;background-repeat:no-repeat}#upload-button{gap:.4rem;font-size:18px;cursor:pointer}#upload{display:none}svg{pointer-events:none}#example{font-size:14px;text-decoration:underline;cursor:pointer}#example:hover{color:#2563eb}canvas{position:absolute;width:100%;height:100%}#status{min-height:16px;margin:8px 0}
|
index.html
CHANGED
@@ -10,8 +10,11 @@
|
|
10 |
</head>
|
11 |
|
12 |
<body>
|
13 |
-
<h1>Background Removal w/ <a href="http://github.com/xenova/transformers.js">🤗 Transformers.js</a
|
14 |
-
|
|
|
|
|
|
|
15 |
<div id="container">
|
16 |
<label id="upload-button" for="upload">
|
17 |
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
10 |
</head>
|
11 |
|
12 |
<body>
|
13 |
+
<h1>Background Removal w/ <a href="http://github.com/xenova/transformers.js" target="_blank">🤗 Transformers.js</a>
|
14 |
+
</h1>
|
15 |
+
<h4>Runs locally in your browser, powered by the <a href="https://huggingface.co/briaai/RMBG-1.4" target="_blank">RMBG V1.4 model</a> from <a
|
16 |
+
href="https://bria.ai/" target="_blank">BRIA AI</a>
|
17 |
+
</h4>
|
18 |
<div id="container">
|
19 |
<label id="upload-button" for="upload">
|
20 |
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|