Spaces:
Running
on
Zero
Running
on
Zero
Update ssh
Browse files- model/model_registry.py +4 -4
model/model_registry.py
CHANGED
@@ -23,8 +23,8 @@ def get_model_info(name: str) -> ModelInfo:
|
|
23 |
|
24 |
def get_model_description_md(model_list):
|
25 |
model_description_md = """
|
26 |
-
| | | | | | | | | | |
|
27 |
-
| ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
|
28 |
"""
|
29 |
ct = 0
|
30 |
visited = set()
|
@@ -37,10 +37,10 @@ def get_model_description_md(model_list):
|
|
37 |
# one_model_md = f"[{minfo.simple_name}]({minfo.link}): {minfo.description}"
|
38 |
one_model_md = f"{minfo.simple_name}"
|
39 |
|
40 |
-
if ct %
|
41 |
model_description_md += "|"
|
42 |
model_description_md += f" {one_model_md} |"
|
43 |
-
if ct %
|
44 |
model_description_md += "\n"
|
45 |
ct += 1
|
46 |
return model_description_md
|
|
|
23 |
|
24 |
def get_model_description_md(model_list):
|
25 |
model_description_md = """
|
26 |
+
| | | | | | | | | | | |
|
27 |
+
| ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
|
28 |
"""
|
29 |
ct = 0
|
30 |
visited = set()
|
|
|
37 |
# one_model_md = f"[{minfo.simple_name}]({minfo.link}): {minfo.description}"
|
38 |
one_model_md = f"{minfo.simple_name}"
|
39 |
|
40 |
+
if ct % 11 == 0:
|
41 |
model_description_md += "|"
|
42 |
model_description_md += f" {one_model_md} |"
|
43 |
+
if ct % 11 == 10:
|
44 |
model_description_md += "\n"
|
45 |
ct += 1
|
46 |
return model_description_md
|