Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Clémentine
commited on
Commit
•
ca27c07
1
Parent(s):
28ee758
fix
Browse files
src/scripts/update_all_request_files.py
CHANGED
@@ -15,6 +15,7 @@ def update_one_model(model_id, data, models_on_the_hub):
|
|
15 |
data['likes'] = 0
|
16 |
data['downloads'] = 0
|
17 |
data['created_at'] = ""
|
|
|
18 |
return data
|
19 |
|
20 |
# Grabbing model parameters
|
@@ -101,7 +102,7 @@ def update_dynamic_files():
|
|
101 |
start = time.time()
|
102 |
|
103 |
models = list(API.list_models(
|
104 |
-
filter=ModelFilter(task="text-generation"),
|
105 |
full=False,
|
106 |
cardData=True,
|
107 |
fetch_config=True,
|
|
|
15 |
data['likes'] = 0
|
16 |
data['downloads'] = 0
|
17 |
data['created_at'] = ""
|
18 |
+
data["tags"] = []
|
19 |
return data
|
20 |
|
21 |
# Grabbing model parameters
|
|
|
102 |
start = time.time()
|
103 |
|
104 |
models = list(API.list_models(
|
105 |
+
#filter=ModelFilter(task="text-generation"),
|
106 |
full=False,
|
107 |
cardData=True,
|
108 |
fetch_config=True,
|