hunterschep commited on
Commit
01a590b
·
verified ·
1 Parent(s): 031ac03

wrap main for safety

Browse files
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()