CoolFace
Apppublic

skilfoy/Check-my-progress-Deep-RL-Course

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
utils.py17 linesDownload Raw Back to root
1# Based on Omar Sanseviero work2# Make model clickable link3def make_clickable_model(model_name):4    # remove user from model name5    model_name_show = ' '.join(model_name.split('/')[1:])6 7    link = "https://huggingface.co/" + model_name8    return f'<a target="_blank" href="{link}">{model_name_show}</a>'9 10def pass_emoji(passed):11    print("PASSED", passed)12    if passed is True:13        passed = "✅"14    else:15        passed = "❌"16    return passed17