Skip to content

Commit e1499e9

Browse files
committed
Disable Huggingface token prompt, do not autoupgrade on Linux
1 parent 65dcde3 commit e1499e9

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

manager/src/targets/ubuntu.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ pub fn install(wsl: bool, experimental: bool) {
1616

1717
// Update and upgrade the system
1818
crate::apt::update();
19-
crate::apt::upgrade();
2019

2120
// Clone the repo
2221
let res = crate::git::clone::clone_repo(
@@ -99,8 +98,8 @@ pub fn install(wsl: bool, experimental: bool) {
9998
// Check NVCC
10099
crate::utils::nvidia::is_nvcc_installed();
101100

102-
// Insert the HUGGINGFACE_TOKEN
103-
crate::environ::change_huggingface_token();
101+
// Create .env file
102+
crate::environ::create_env_file();
104103

105104
// Create the virtual environment
106105
let res = crate::utils::python::create_venv();

manager/src/targets/windows.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ pub fn install(experimental: bool) {
4747
);
4848
}
4949

50-
// Insert the HUGGINGFACE_TOKEN
51-
crate::environ::change_huggingface_token();
50+
// Create .env file
51+
crate::environ::create_env_file();
5252

5353
// Create the virtual environment
5454
let res = crate::utils::python::create_venv();

0 commit comments

Comments
 (0)