NicolasG2523 commited on
Commit
ee5a950
verified
1 Parent(s): c39dc83

Upload gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +4 -4
gradio_app.py CHANGED
@@ -364,9 +364,12 @@ def shape_generation(
364
  model_viewer_html,
365
  stats,
366
  seed,
 
367
  )
368
 
369
-
 
 
370
  def build_app():
371
  title = 'Generaci贸n de modelo basado en im谩genes (de 1 a 4 vistas)'
372
 
@@ -492,9 +495,6 @@ def build_app():
492
  iframe = gr.HTML(iframe_html)
493
  file_output.change(fn=js_update, inputs=file_output, outputs=js_injection)
494
 
495
- def js_update(file):
496
- return f"<script>updateIframe('{file}');</script>"
497
-
498
  js_injection = gr.HTML()
499
 
500
  with gr.Tab('Exporting Mesh', id='export_mesh_panel'):
 
364
  model_viewer_html,
365
  stats,
366
  seed,
367
+ model_viewer_html
368
  )
369
 
370
+ def js_update(file):
371
+ return f"<script>updateIframe('{file}');</script>"
372
+
373
  def build_app():
374
  title = 'Generaci贸n de modelo basado en im谩genes (de 1 a 4 vistas)'
375
 
 
495
  iframe = gr.HTML(iframe_html)
496
  file_output.change(fn=js_update, inputs=file_output, outputs=js_injection)
497
 
 
 
 
498
  js_injection = gr.HTML()
499
 
500
  with gr.Tab('Exporting Mesh', id='export_mesh_panel'):