reach-vb HF staff commited on
Commit
184ed3a
1 Parent(s): 5f0f1b0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def split_upload_model(model_path, repo_id, oauth_token: gr.OAuthToken | None, s
51
  if oauth_token.token is None:
52
  raise ValueError("You have to be logged in.")
53
 
54
- split_cmd = f"llama.cpp/gguf-split --split --split-max-tensors {split_max_tensors}"
55
  if split_max_size:
56
  split_cmd += f" --split-max-size {split_max_size}"
57
  split_cmd += f" {model_path} {model_path.split('.')[0]}"
 
51
  if oauth_token.token is None:
52
  raise ValueError("You have to be logged in.")
53
 
54
+ split_cmd = f"llama.cpp/llama-gguf-split --split --split-max-tensors {split_max_tensors}"
55
  if split_max_size:
56
  split_cmd += f" --split-max-size {split_max_size}"
57
  split_cmd += f" {model_path} {model_path.split('.')[0]}"