d1111111 commited on
Commit
aaec3b4
·
verified ·
1 Parent(s): 1ff6d25

Update run.bash

Browse files
Files changed (1) hide show
  1. run.bash +1 -0
run.bash CHANGED
@@ -1,6 +1,7 @@
1
  #!/bin/bash
2
  export HF_HOME=huggingface
3
  export PYTHONUTF8=1
 
4
  # 获取脚本所在目录的绝对路径
5
  script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
6
  # 激活虚拟环境
 
1
  #!/bin/bash
2
  export HF_HOME=huggingface
3
  export PYTHONUTF8=1
4
+ export MPLBACKEND=Agg
5
  # 获取脚本所在目录的绝对路径
6
  script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
7
  # 激活虚拟环境