CISCai commited on
Commit
e5482cc
1 Parent(s): 6b453ab

fix button size

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -401,7 +401,9 @@ def character_diff(
401
 
402
  with gr.Blocks(
403
  ) as blocks:
404
- with gr.Row():
 
 
405
  hf_search = HuggingfaceHubSearch(
406
  label = "Search Huggingface Hub",
407
  placeholder = "Search for models on Huggingface",
@@ -982,7 +984,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"):
 
401
 
402
  with gr.Blocks(
403
  ) as blocks:
404
+ with gr.Row(
405
+ equal_height = True,
406
+ ):
407
  hf_search = HuggingfaceHubSearch(
408
  label = "Search Huggingface Hub",
409
  placeholder = "Search for models on Huggingface",
 
984
  ):
985
  write_access = False
986
 
987
+ if info and oauth_token:
988
  if info.get("gguf"):
989
  gr.Warning("Repository contains GGUFs, use GGUF Editor if you want to commit changes...")
990
  elif info.get("disabled"):