{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "c69a901b-8c3f-4188-97bd-5594c4496ec5", "metadata": {}, "outputs": [], "source": [ "from huggingface_hub import HfApi\n", "api = HfApi()" ] }, { "cell_type": "code", "execution_count": 3, "id": "8b249adc-ccd0-4145-86ce-64509ad276cf", "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "faf7b41b81e54705bae8921f2a86e9fd", "version_major": 2, "version_minor": 0 }, "text/plain": [ "VBox(children=(HTML(value='
'\n",
" else:\n",
" lines[i] = \"
\"\n",
" else:\n",
" if i > 0:\n",
" if count % 2 == 1:\n",
" line = line.replace(\"`\", r\"\\`\")\n",
" line = line.replace(\"<\", \"<\")\n",
" line = line.replace(\">\", \">\")\n",
" line = line.replace(\" \", \" \")\n",
" line = line.replace(\"*\", \"*\")\n",
" line = line.replace(\"_\", \"_\")\n",
" line = line.replace(\"-\", \"-\")\n",
" line = line.replace(\".\", \".\")\n",
" line = line.replace(\"!\", \"!\")\n",
" line = line.replace(\"(\", \"(\")\n",
" line = line.replace(\")\", \")\")\n",
" line = line.replace(\"$\", \"$\")\n",
" lines[i] = \"