freealise commited on
Commit
29a6d28
1 Parent(s): b3a54dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -492,6 +492,7 @@ with gr.Blocks(css=css) as demo:
492
  BABYLON.Engine.LastCreatedScene.getNodes()[1].rotation.y = this.value;
493
  this.parentNode.childNodes[2].innerText = this.value;
494
  '/><span>0</span>""")
 
495
  camera = gr.HTML(value="""<a href='#' id='reset_cam' onclick='
496
  if (!BABYLON.Engine.LastCreatedScene.activeCamera.metadata) {
497
  BABYLON.Engine.LastCreatedScene.activeCamera.metadata = {
@@ -563,7 +564,7 @@ with gr.Blocks(css=css) as demo:
563
  ctxt.drawImage(this, 0, 0);
564
  '/><br/>
565
  <canvas id='cnv_out'/>""")
566
- load_all = gr.Checkbox(label="Load all")
567
  render = gr.Button("Render")
568
 
569
  def on_submit(uploaded_video,model_type,coordinates):
 
492
  BABYLON.Engine.LastCreatedScene.getNodes()[1].rotation.y = this.value;
493
  this.parentNode.childNodes[2].innerText = this.value;
494
  '/><span>0</span>""")
495
+
496
  camera = gr.HTML(value="""<a href='#' id='reset_cam' onclick='
497
  if (!BABYLON.Engine.LastCreatedScene.activeCamera.metadata) {
498
  BABYLON.Engine.LastCreatedScene.activeCamera.metadata = {
 
564
  ctxt.drawImage(this, 0, 0);
565
  '/><br/>
566
  <canvas id='cnv_out'/>""")
567
+ load_all = gr.Checkbox(label="Load all")
568
  render = gr.Button("Render")
569
 
570
  def on_submit(uploaded_video,model_type,coordinates):