Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def generate_importance_matrix(model_path, train_data_path):
|
|
39 |
|
40 |
print("Importance matrix generation completed.")
|
41 |
|
42 |
-
def split_upload_model(model_path, repo_id, oauth_token: gr.
|
43 |
if oauth_token.token is None:
|
44 |
raise ValueError("You have to be logged in.")
|
45 |
|
|
|
39 |
|
40 |
print("Importance matrix generation completed.")
|
41 |
|
42 |
+
def split_upload_model(model_path, repo_id, oauth_token: gr.OAuthToken | None, split_max_tensors=256, split_max_size=None):
|
43 |
if oauth_token.token is None:
|
44 |
raise ValueError("You have to be logged in.")
|
45 |
|