reach-vb HF staff commited on
Commit
3b210c4
1 Parent(s): 31ebe9e

patch: fix the base_model definition. (#75)

Browse files

- Update app.py (3bbc56460496e60d413f0f7ed8e4e53e8f581cf0)

Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -119,9 +119,7 @@ def process_model(model_id, q_method, private_repo, split_model, split_max_tenso
119
  card.data.tags = []
120
  card.data.tags.append("llama-cpp")
121
  card.data.tags.append("gguf-my-repo")
122
- if card.data.base_model is None:
123
- card.data.base_model = []
124
- card.data.base_model.append({model_id})
125
  card.text = dedent(
126
  f"""
127
  # {new_repo_id}
 
119
  card.data.tags = []
120
  card.data.tags.append("llama-cpp")
121
  card.data.tags.append("gguf-my-repo")
122
+ card.data.base_model = {model_id}
 
 
123
  card.text = dedent(
124
  f"""
125
  # {new_repo_id}