def model_hyperlink(link, model_show): return f'{model_show}' def make_clickable_model(model_show , model_name , is_open): if is_open: link = f"https://huggingface.co/{model_name}" else: link = model_name return model_hyperlink(link, model_show) def styled_error(error): return f"

{error}

" def styled_warning(warn): return f"

{warn}

" def styled_message(message): return f"

{message}

" def has_no_nan_values(df, columns): return df[columns].notna().all(axis=1) def has_nan_values(df, columns): return df[columns].isna().any(axis=1)