Spaces:
Running
Running
disable permissions check
Browse files
app.py
CHANGED
@@ -982,7 +982,7 @@ You can freely edit and test GGUF chat template(s) (and are encouraged to do so)
|
|
982 |
):
|
983 |
write_access = False
|
984 |
|
985 |
-
if info and oauth_token and hfapi.get_token_permission(oauth_token.token) == "write":
|
986 |
if info.get("gguf"):
|
987 |
gr.Warning("Repository contains GGUFs, use GGUF Editor if you want to commit changes...")
|
988 |
elif info.get("disabled"):
|
|
|
982 |
):
|
983 |
write_access = False
|
984 |
|
985 |
+
if info and oauth_token: # and hfapi.get_token_permission(oauth_token.token) == "write":
|
986 |
if info.get("gguf"):
|
987 |
gr.Warning("Repository contains GGUFs, use GGUF Editor if you want to commit changes...")
|
988 |
elif info.get("disabled"):
|