hysts HF staff commited on
Commit
074f54b
1 Parent(s): f521e88
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -100,4 +100,5 @@ with gr.Blocks(css="style.css") as demo:
100
  api_name=False,
101
  )
102
 
103
- demo.queue(max_size=20).launch()
 
 
100
  api_name=False,
101
  )
102
 
103
+ if __name__ == "__main__":
104
+ demo.queue(max_size=20).launch()