fuxialexander commited on
Commit
cf8f51f
1 Parent(s): 98bcd35

unify getdemo and getdemo-hf

Browse files
Files changed (2) hide show
  1. app/main.py +2 -1
  2. modules/atac_rna_data_processing +1 -1
app/main.py CHANGED
@@ -29,6 +29,7 @@ args.add_argument("-p", "--port", type=int, default=7860, help="Port number")
29
  args.add_argument("-s", "--share", action="store_true", help="Share on network")
30
  args.add_argument("-u", "--s3_uri", type=str, default=None, help="Path to demo S3 bucket")
31
  args.add_argument("-d", "--data", type=str, default=None, help="Data directory")
 
32
  args = args.parse_args()
33
 
34
  GET_CONFIG = load_config(
@@ -360,4 +361,4 @@ You can download specific segment pair PDB files by clicking 'Get PDB.'
360
  outputs=[subnet_plot, cell],
361
  )
362
 
363
- demo.launch(share=args.share, server_port=args.port)
 
29
  args.add_argument("-s", "--share", action="store_true", help="Share on network")
30
  args.add_argument("-u", "--s3_uri", type=str, default=None, help="Path to demo S3 bucket")
31
  args.add_argument("-d", "--data", type=str, default=None, help="Data directory")
32
+ args.add_argument("-h", "--host", type=str, default="127.0.0.1")
33
  args = args.parse_args()
34
 
35
  GET_CONFIG = load_config(
 
361
  outputs=[subnet_plot, cell],
362
  )
363
 
364
+ demo.launch(server_name=args.host, share=args.share, server_port=args.port)
modules/atac_rna_data_processing CHANGED
@@ -1 +1 @@
1
- Subproject commit 669e36691dc7758e16b372af43e48168856a4f67
 
1
+ Subproject commit e3591f6a18614b73484b13aa242f75971334f80d