rakibulislam666 commited on
Commit
dda6caa
·
verified ·
1 Parent(s): 47e1b4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -285,12 +285,6 @@ def ui():
285
  """)
286
  return demo
287
 
288
- import click
289
- @click.command()
290
- @click.option("--debug", is_flag=True, default=False, help="Enable debug mode.")
291
- @click.option("--share", is_flag=True, default=False, help="Enable sharing of the interface.")
292
- def main(debug, share):
293
- demo=ui()
294
- demo.queue().launch(debug=debug, share=share)
295
  if __name__ == "__main__":
296
- main()
 
 
285
  """)
286
  return demo
287
 
 
 
 
 
 
 
 
288
  if __name__ == "__main__":
289
+ demo = ui()
290
+ demo.queue().launch()