Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
GitHub Actions
commited on
Commit
·
e4f27ba
1
Parent(s):
885d28a
Sync from GitHub repo
Browse files
models.py
CHANGED
|
@@ -747,6 +747,7 @@ def insert_initial_models():
|
|
| 747 |
# Update model attributes if they've changed, but preserve other data
|
| 748 |
existing.name = model.name
|
| 749 |
existing.is_open = model.is_open
|
|
|
|
| 750 |
if model.is_active is not None:
|
| 751 |
existing.is_active = model.is_active
|
| 752 |
|
|
|
|
| 747 |
# Update model attributes if they've changed, but preserve other data
|
| 748 |
existing.name = model.name
|
| 749 |
existing.is_open = model.is_open
|
| 750 |
+
existing.model_url = model.model_url
|
| 751 |
if model.is_active is not None:
|
| 752 |
existing.is_active = model.is_active
|
| 753 |
|