melkani commited on
Commit
2a665a9
·
verified ·
1 Parent(s): 1e06814

Update Kill-switch for app open or close

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -57,4 +57,8 @@ with gr.Blocks() as demo:
57
  )
58
 
59
  if __name__ == "__main__":
60
- demo.launch()
 
 
 
 
 
57
  )
58
 
59
  if __name__ == "__main__":
60
+ debug = False
61
+ if debug:
62
+ print("Debug mode, not launching")
63
+ else:
64
+ demo.launch()