TheEeeeLin commited on
Commit
da28e54
1 Parent(s): cc3e5bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -586,13 +586,13 @@ if __name__ == "__main__":
586
  fn=set_example_image, inputs=[example_images], outputs=[img_input]
587
  )
588
 
589
- argparser = argparse.ArgumentParser()
590
- argparser.add_argument(
591
- "--port", type=int, default=7860, help="The port number of the server"
592
- )
593
- argparser.add_argument(
594
- "--host", type=str, default="127.0.0.1", help="The host of the server"
595
- )
596
- args = argparser.parse_args()
597
 
598
  demo.launch(server_name=args.host, server_port=args.port)
 
586
  fn=set_example_image, inputs=[example_images], outputs=[img_input]
587
  )
588
 
589
+ # argparser = argparse.ArgumentParser()
590
+ # argparser.add_argument(
591
+ # "--port", type=int, default=7860, help="The port number of the server"
592
+ # )
593
+ # argparser.add_argument(
594
+ # "--host", type=str, default="127.0.0.1", help="The host of the server"
595
+ # )
596
+ # args = argparser.parse_args()
597
 
598
  demo.launch(server_name=args.host, server_port=args.port)