TheEeeeLin commited on
Commit
cc672ca
1 Parent(s): c6f96c3

huggingface

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -586,13 +586,13 @@ if __name__ == "__main__":
586
  ],
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
  ],
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()