akhaliq HF Staff commited on
Commit
263f187
·
verified ·
1 Parent(s): afa74dd

UI text matches the new compute caps

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -104,7 +104,7 @@
104
  <div class="icon">&#128247;</div>
105
  <strong>Drop an image or video</strong>
106
  <span>or click to browse &mdash; depth for every pixel, in meters</span>
107
- <span>Try an <span id="example">example image</span> &middot; first 100 frames of a video are processed</span>
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 100 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", {
 
104
  <div class="icon">&#128247;</div>
105
  <strong>Drop an image or video</strong>
106
  <span>or click to browse &mdash; depth for every pixel, in meters</span>
107
+ <span>Try an <span id="example">example image</span> &middot; 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", {