Spaces:
Sleeping
Sleeping
def make_clickable_model(model_name): | |
link = f"https://huggingface.co/{model_name}" | |
return f'<a target="_blank" href="{link}" style="color: var(--link-text-color); text-decoration: underline;text-decoration-style: dotted;">{model_name}</a>' | |
def round_numbers(x): | |
if type(x) is str: | |
x = x | |
else: | |
x = round(x, 2) | |
return x | |