hanquansanren commited on
Commit
0d4891c
·
1 Parent(s): edab38b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,7 +8,7 @@ import torch
8
  import torch.backends.cudnn
9
  import admin.settings as ws_settings
10
  import os
11
- os.environ["CUDA_VISIBLE_DEVICES"] = "7"
12
  # os.environ["OPENAI_LOGDIR"] = "./logs"
13
  # os.environ["MPI_DISABLED"] = "1"
14
  # os.environ.getattribute("HF_TOKEN")
@@ -561,7 +561,7 @@ if __name__ == '__main__':
561
  )
562
 
563
  # demo.launch(share=True, debug=True, server_name="10.7.88.77")
564
- demo.launch(share=True, ssr_mode=False)
565
 
566
 
567
 
 
8
  import torch.backends.cudnn
9
  import admin.settings as ws_settings
10
  import os
11
+ # os.environ["CUDA_VISIBLE_DEVICES"] = "7"
12
  # os.environ["OPENAI_LOGDIR"] = "./logs"
13
  # os.environ["MPI_DISABLED"] = "1"
14
  # os.environ.getattribute("HF_TOKEN")
 
561
  )
562
 
563
  # demo.launch(share=True, debug=True, server_name="10.7.88.77")
564
+ demo.launch(ssr_mode=False)
565
 
566
 
567