Spaces:
Build error
Build error
Update app.py
Browse files
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 |
|