rliu commited on
Commit
f1b9fd4
·
verified ·
1 Parent(s): 67f205a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -581,7 +581,7 @@ def run_demo(
581
  label='Relationship between input (green) and output (blue) camera poses')
582
 
583
  gen_output = gr.Gallery(label='Generated images from specified new viewpoint')
584
- gen_output.style(grid=2)
585
 
586
  preproc_output = gr.Image(type='pil', image_mode='RGB',
587
  label='Preprocessed input image', visible=_SHOW_INTERMEDIATE)
@@ -658,8 +658,8 @@ def run_demo(
658
  0.0, 180.0, 0.0),
659
  inputs=preset_inputs, outputs=preset_outputs)
660
 
661
- demo.launch(enable_queue=True)
662
-
663
 
664
  if __name__ == '__main__':
665
 
 
581
  label='Relationship between input (green) and output (blue) camera poses')
582
 
583
  gen_output = gr.Gallery(label='Generated images from specified new viewpoint')
584
+ # gen_output.style(grid=2)
585
 
586
  preproc_output = gr.Image(type='pil', image_mode='RGB',
587
  label='Preprocessed input image', visible=_SHOW_INTERMEDIATE)
 
658
  0.0, 180.0, 0.0),
659
  inputs=preset_inputs, outputs=preset_outputs)
660
 
661
+ # demo.launch(enable_queue=True)
662
+ demo.launch(share=True)
663
 
664
  if __name__ == '__main__':
665