hysts HF staff commited on
Commit
89f9579
1 Parent(s): 4afe6bb
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -276,4 +276,5 @@ with gr.Blocks(css="style.css") as demo:
276
  api_name=False,
277
  )
278
 
279
- demo.queue(max_size=20).launch()
 
 
276
  api_name=False,
277
  )
278
 
279
+ if __name__ == "__main__":
280
+ demo.queue(max_size=20).launch()