Update app.py
Browse files
app.py
CHANGED
@@ -1261,7 +1261,7 @@ with gr.Blocks(css=css, js=js, head=head) as demo:
|
|
1261 |
|
1262 |
with gr.Group():
|
1263 |
camera = gr.HTML(value="""<div style='width:128px;height:128px;border:1px dotted gray;padding:0;margin:0;float:left;' id='seek'></div><br/>
|
1264 |
-
<a href='#' id='reset_cam' style='width:12em;float:
|
1265 |
if (!BABYLON.Engine.LastCreatedScene.activeCamera.metadata) {
|
1266 |
BABYLON.Engine.LastCreatedScene.activeCamera.metadata = {
|
1267 |
screenshot: true,
|
|
|
1261 |
|
1262 |
with gr.Group():
|
1263 |
camera = gr.HTML(value="""<div style='width:128px;height:128px;border:1px dotted gray;padding:0;margin:0;float:left;' id='seek'></div><br/>
|
1264 |
+
<a href='#' id='reset_cam' style='width:12em;float:right;color:white' onclick='
|
1265 |
if (!BABYLON.Engine.LastCreatedScene.activeCamera.metadata) {
|
1266 |
BABYLON.Engine.LastCreatedScene.activeCamera.metadata = {
|
1267 |
screenshot: true,
|