Skip to content

Commit b9aacf2

Browse files
authored
Update altaera-convert_url.sh
1 parent c518485 commit b9aacf2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/altaera-proot/altaera-convert_url.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ exec 3>&1 # Save the place that stdout (1) points to
66
result=$(dialog --title "Input Required" --inputbox "Enter repostiory URL for a HuggingFace model (GGUF):" 10 30 2>&1 >/dev/tty)
77
exec 3>&- # Close the temporary stream
88

9-
git clone $result
10-
cd '$_'
9+
git clone $result && cd "!$:t:r"
1110
rm 'pytorch_model.bin'
1211
wget $result/resolve/main/pytorch_model.bin
1312
python '/root/altaera-c&q/llama.cpp/convert_hf_to_gguf.py' './'

0 commit comments

Comments
 (0)