UI text matches the new compute caps
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -104,7 +104,7 @@
|
|
| 104 |
<div class="icon">📷</div>
|
| 105 |
<strong>Drop an image or video</strong>
|
| 106 |
<span>or click to browse — depth for every pixel, in meters</span>
|
| 107 |
-
<span>Try an <span id="example">example image</span> · first
|
| 108 |
<input type="file" id="file" accept="image/*,video/*">
|
| 109 |
</div>
|
| 110 |
<div id="compare" hidden>
|
|
@@ -189,7 +189,7 @@
|
|
| 189 |
async function processFile(file) {
|
| 190 |
const isVideo = file.type.startsWith("video/");
|
| 191 |
const sourceUrl = URL.createObjectURL(file);
|
| 192 |
-
setStatus(`Estimating depth${isVideo ? " (first
|
| 193 |
try {
|
| 194 |
const client = await clientPromise;
|
| 195 |
const result = await client.predict(isVideo ? "/predict_depth_video" : "/predict_depth", {
|
|
|
|
| 104 |
<div class="icon">📷</div>
|
| 105 |
<strong>Drop an image or video</strong>
|
| 106 |
<span>or click to browse — depth for every pixel, in meters</span>
|
| 107 |
+
<span>Try an <span id="example">example image</span> · videos: first 60 frames, at up to 960 px</span>
|
| 108 |
<input type="file" id="file" accept="image/*,video/*">
|
| 109 |
</div>
|
| 110 |
<div id="compare" hidden>
|
|
|
|
| 189 |
async function processFile(file) {
|
| 190 |
const isVideo = file.type.startsWith("video/");
|
| 191 |
const sourceUrl = URL.createObjectURL(file);
|
| 192 |
+
setStatus(`Estimating depth${isVideo ? " (first 60 frames)" : ""}\u2026 this runs on a ZeroGPU queue`);
|
| 193 |
try {
|
| 194 |
const client = await clientPromise;
|
| 195 |
const result = await client.predict(isVideo ? "/predict_depth_video" : "/predict_depth", {
|