Update app.py

#29
by reach-vb HF staff - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def clear_hf_cache_space():
47
 
48
  def upload_to_hub(path, upload_repo, hf_path, oauth_token):
49
  card = ModelCard.load(hf_path, token=oauth_token.token)
50
- card.data.tags = ["mlx"] if card.data.tags is None else card.data.tags + ["mlx"]
51
  card.data.base_model = hf_path
52
  card.text = dedent(
53
  f"""
 
47
 
48
  def upload_to_hub(path, upload_repo, hf_path, oauth_token):
49
  card = ModelCard.load(hf_path, token=oauth_token.token)
50
+ card.data.tags = ["mlx"] if card.data.tags is None else card.data.tags + ["mlx", "mlx-my-repo"]
51
  card.data.base_model = hf_path
52
  card.text = dedent(
53
  f"""