semakoc hunterschep commited on
Commit
fb1d22f
·
verified ·
1 Parent(s): 031ac03

wrap main for safety (#11)

Browse files

- wrap main for safety (01a590bfc94c21183110e5485b50a66c20c25f09)


Co-authored-by: Hunter S <[email protected]>

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -218,4 +218,5 @@ with gr.Blocks() as demo:
218
  outputs=download_output
219
  )
220
 
221
- demo.launch()
 
 
218
  outputs=download_output
219
  )
220
 
221
+ if __name__ == "__main__":
222
+ demo.launch()