NicolasG2523 commited on
Commit
6c455c6
·
verified ·
1 Parent(s): a4f0fb0

Upload gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +3 -3
gradio_app.py CHANGED
@@ -652,9 +652,9 @@ if __name__ == '__main__':
652
  <model-viewer id="model_viewer" src="" camera-controls auto-rotate style="height:500px;width:500px;"></model-viewer>
653
  </iframe>
654
  <script>
655
- function updateIframe(srcUrl) {
656
- document.getElementById('model_viewer').src = '${srcUrl}';
657
- }
658
  </script>
659
  </div>
660
  </div>
 
652
  <model-viewer id="model_viewer" src="" camera-controls auto-rotate style="height:500px;width:500px;"></model-viewer>
653
  </iframe>
654
  <script>
655
+ function updateIframe(srcUrl) {{
656
+ document.getElementById('model_viewer').src = srcUrl;
657
+ }}
658
  </script>
659
  </div>
660
  </div>