linoyts HF Staff commited on
Commit
74d5e49
·
verified ·
1 Parent(s): d9ad9c0

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -498,7 +498,6 @@ SCRIPT = r"""
498
  ["Aspect ratio","Pick the frame your scene lives in."],
499
  ["Elements","Drag out a box for every element that matters, then describe what goes in it."],
500
  ["Prompt","One line describing the whole scene — or the edit, if you added a reference image."],
501
- ["Generate","FLUX.3 renders the scene with every element inside its box."],
502
  ];
503
  let S = {aspect:"1:1", elements:[], scene:"", seed:-1, rendered:false, step:1, showBoxes:true,
504
  refImage:null, refW:0, refH:0};
@@ -737,7 +736,7 @@ SCRIPT = r"""
737
  if(!S.elements.some(e=>(e.desc||'').trim()) && !(S.scene||'').trim()){
738
  NS.el.scene.focus(); return;
739
  }
740
- S.seed=-1; S.step=4; renderSteps(); syncState();
741
  NS.el.board.classList.add('busy');
742
  NS.el.genbtn.setAttribute('disabled','');
743
  setTimeout(()=>{ const b=genButton(); if(b)b.click(); },70);
 
498
  ["Aspect ratio","Pick the frame your scene lives in."],
499
  ["Elements","Drag out a box for every element that matters, then describe what goes in it."],
500
  ["Prompt","One line describing the whole scene — or the edit, if you added a reference image."],
 
501
  ];
502
  let S = {aspect:"1:1", elements:[], scene:"", seed:-1, rendered:false, step:1, showBoxes:true,
503
  refImage:null, refW:0, refH:0};
 
736
  if(!S.elements.some(e=>(e.desc||'').trim()) && !(S.scene||'').trim()){
737
  NS.el.scene.focus(); return;
738
  }
739
+ S.seed=-1; S.step=3; renderSteps(); syncState();
740
  NS.el.board.classList.add('busy');
741
  NS.el.genbtn.setAttribute('disabled','');
742
  setTimeout(()=>{ const b=genButton(); if(b)b.click(); },70);