prithivMLmods commited on
Commit
a3ff2b5
·
verified ·
1 Parent(s): fee1c33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1081,7 +1081,7 @@ def load_example_scene(scene_name, examples_dir="examples"):
1081
  # -------------------------------------------------------------------------
1082
  theme = get_gradio_theme()
1083
 
1084
- with gr.Blocks(theme=theme, css=GRADIO_CSS) as demo:
1085
  # State variables for the tabbed interface
1086
  is_example = gr.Textbox(label="is_example", visible=False, value="None")
1087
  num_images = gr.Textbox(label="num_images", visible=False, value="None")
@@ -1674,4 +1674,4 @@ with gr.Blocks(theme=theme, css=GRADIO_CSS) as demo:
1674
  # -------------------------------------------------------------------------
1675
  gr.HTML(get_acknowledgements_html())
1676
 
1677
- demo.queue(max_size=20).launch(show_error=True, share=True, ssr_mode=False)
 
1081
  # -------------------------------------------------------------------------
1082
  theme = get_gradio_theme()
1083
 
1084
+ with gr.Blocks() as demo:
1085
  # State variables for the tabbed interface
1086
  is_example = gr.Textbox(label="is_example", visible=False, value="None")
1087
  num_images = gr.Textbox(label="num_images", visible=False, value="None")
 
1674
  # -------------------------------------------------------------------------
1675
  gr.HTML(get_acknowledgements_html())
1676
 
1677
+ demo.queue(max_size=20).launch(theme=theme, css=GRADIO_CSS, show_error=True, share=True, ssr_mode=False)