Update app.py
Browse files
app.py
CHANGED
@@ -791,6 +791,8 @@ async(c, o, p, d, n, m, s)=>{
|
|
791 |
videoDome.videoTexture.video.oncanplaythrough = null;
|
792 |
video.oncanplaythrough = null;
|
793 |
};
|
|
|
|
|
794 |
|
795 |
|
796 |
if (document.getElementById("model")) {
|
@@ -1382,7 +1384,6 @@ with gr.Blocks(css=css, js=js, head=head) as demo:
|
|
1382 |
""")
|
1383 |
render = gr.Button("Render")
|
1384 |
input_json.input(show_json, inputs=[input_json], outputs=[processed_video, processed_zip, output_frame, output_mask, output_depth, coords])
|
1385 |
-
viewer = gr.HTML(value="""<script src='https://preview.babylonjs.com/viewer/babylon.viewer.js'></script><babylon model='./scene.babylon'></babylon>""")
|
1386 |
|
1387 |
|
1388 |
def on_submit(uploaded_video,model_type,blur_in,boffset,bsize,coordinates):
|
|
|
791 |
videoDome.videoTexture.video.oncanplaythrough = null;
|
792 |
video.oncanplaythrough = null;
|
793 |
};
|
794 |
+
|
795 |
+
var debugLayer = BABYLON.Engine.LastCreatedScene.debugLayer.show();
|
796 |
|
797 |
|
798 |
if (document.getElementById("model")) {
|
|
|
1384 |
""")
|
1385 |
render = gr.Button("Render")
|
1386 |
input_json.input(show_json, inputs=[input_json], outputs=[processed_video, processed_zip, output_frame, output_mask, output_depth, coords])
|
|
|
1387 |
|
1388 |
|
1389 |
def on_submit(uploaded_video,model_type,blur_in,boffset,bsize,coordinates):
|