Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Background Remover</title> | |
<link rel="stylesheet" href="/static/style.css"> | |
</head> | |
<body> | |
<div class="container"> | |
<h1 class="title">Background Remover</h1> | |
<div class="image-containers"> | |
<div class="image-box"> | |
<h2>Upload Image</h2> | |
<div class="upload-area" id="uploadArea"> | |
<p>Click or drag image here</p> | |
<input type="file" id="fileInput" hidden accept="image/*"> | |
<img id="previewImage" class="preview-image"> | |
<div class="loading" id="uploadLoading"></div> | |
</div> | |
</div> | |
<div class="image-box"> | |
<h2>Result</h2> | |
<div class="upload-area"> | |
<img id="resultImage" class="result-image"> | |
<div class="loading" id="resultLoading"></div> | |
</div> | |
</div> | |
</div> | |
<button class="remove-bg-btn" id="removeBackgroundBtn" disabled>Remove Background</button> | |
</div> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"></script> | |
<script src="/static/script.js"></script> | |
</body> | |
</html> |