erwann commited on
Commit
d08faeb
1 Parent(s): 9dd699b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -11
app.py CHANGED
@@ -182,14 +182,5 @@ with gr.Blocks(css="styles.css") as demo:
182
  rewind.change(state.rewind, inputs=[rewind], outputs=[out, mask])
183
  set_mask.click(state.set_mask, inputs=mask, outputs=testim)
184
  demo.queue()
185
- demo.launch(debug=True, inbrowser=True)
186
- # if __name__ == "__main__":
187
- # import argparse
188
- # parser = argparse.ArgumentParser()
189
- # parser.add_argument('--debug', action='store_true', default=False, help='Enable debugging output')
190
- # args = parser.parse_args()
191
- # # if args.debug:
192
- # # state=None
193
- # # promptoptim=None
194
- # # else:
195
- # main()
 
182
  rewind.change(state.rewind, inputs=[rewind], outputs=[out, mask])
183
  set_mask.click(state.set_mask, inputs=mask, outputs=testim)
184
  demo.queue()
185
+ demo.launch(debug=True, enable_queue=True)
186
+