Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse files
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]}"
|