2D-3D / templates /human.html
Timilehin's picture
Upload 20 files
b1f991e verified
Raw History Blame Contribute Delete
1.33 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Human Mesh Generator</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
</head>
<body>
<div class="container">
<h1 class="mt-5">Human Mesh Generator</h1>
<section class="section-container">
<h2 class="mt-4">Upload Image</h2>
<form id="upload-form" class="mt-4">
<div class="mb-3">
<label for="file-input" class="form-label">Upload Image</label>
<input class="form-control" type="file" id="file-input" name="file" accept="image/*" required>
</div>
<button type="submit" class="btn btn-primary">Generate Mesh</button>
</form>
<div id="loading-indicator" class="mt-3">
<div class="spinner"></div>
Processing...
</div>
<a id="download-link" class="btn btn-success mt-3">Download Generated OBJ File</a>
<a id="next-btn" href="{{ url_for('garment') }}" class="btn btn-secondary mt-3">Next</a>
</section>
</div>
<script src="{{ url_for('static', filename='js/human.js') }}"></script>
</body>
</html>