CISCai commited on
Commit
1df654b
·
verified ·
1 Parent(s): 3faa2ab

disable permissions check

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"):