hysts HF staff commited on
Commit
7f04803
1 Parent(s): 5998f0b
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -28,4 +28,6 @@ with gr.Blocks(css="style.css") as demo:
28
  create_demo_text_to_3d(model)
29
  with gr.Tab(label="Image to 3D"):
30
  create_demo_image_to_3d(model)
31
- demo.queue(max_size=10).launch()
 
 
 
28
  create_demo_text_to_3d(model)
29
  with gr.Tab(label="Image to 3D"):
30
  create_demo_image_to_3d(model)
31
+
32
+ if __name__ == "__main__":
33
+ demo.queue(max_size=10).launch()