MikaFil commited on
Commit
59d9923
Β·
verified Β·
1 Parent(s): f7836d7

Update viewer.js

Browse files
Files changed (1) hide show
  1. viewer.js +1 -1
viewer.js CHANGED
@@ -160,7 +160,7 @@ export async function initializeViewer(config, instanceId) {
160
  // ─── 8. Declare assets: PLY + orbit‐camera.js + GLB + HDR ───────────────────
161
  const assets = {
162
  model: new pc.Asset('gsplat', 'gsplat', { url: plyUrl }),
163
- orbit: new pc.Asset('script', 'script', { url: "./orbit-camera.js" }),
164
  galerie: new pc.Asset('galerie', 'container', { url: glbUrl }),
165
  hdr: new pc.Asset(
166
  'hdr',
 
160
  // ─── 8. Declare assets: PLY + orbit‐camera.js + GLB + HDR ───────────────────
161
  const assets = {
162
  model: new pc.Asset('gsplat', 'gsplat', { url: plyUrl }),
163
+ orbit: new pc.Asset('script', 'script', { url: "https://mikafil-viewer-gs.static.hf.space/orbit-camera.js" }),
164
  galerie: new pc.Asset('galerie', 'container', { url: glbUrl }),
165
  hdr: new pc.Asset(
166
  'hdr',