Spaces:
Paused
Paused
patch: fix the base_model definition. (#75)
Browse files- Update app.py (3bbc56460496e60d413f0f7ed8e4e53e8f581cf0)
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 |
-
|
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}
|