annotator U.ipynb (2612B)
1 { 2 "cells": [ 3 { 4 "cell_type": "code", 5 "execution_count": 3, 6 "id": "laughing-being", 7 "metadata": {}, 8 "outputs": [ 9 { 10 "data": { 11 "application/vnd.jupyter.widget-view+json": { 12 "model_id": "1541fdfe7f5d4d70bbcd13573f936eea", 13 "version_major": 2, 14 "version_minor": 0 15 }, 16 "text/plain": [ 17 "HTML(value='\\n <p><strong>This notebook is for annotator U!</strong></p>\\n <p><strong>In…" 18 ] 19 }, 20 "metadata": {}, 21 "output_type": "display_data" 22 } 23 ], 24 "source": [ 25 "import annotations.annotator\n", 26 "annotator = annotations.annotator.Annotator(\"U\", \"/images\")\n", 27 "annotator.instructions()" 28 ] 29 }, 30 { 31 "cell_type": "code", 32 "execution_count": 4, 33 "id": "proper-campus", 34 "metadata": {}, 35 "outputs": [ 36 { 37 "data": { 38 "application/vnd.jupyter.widget-view+json": { 39 "model_id": "798c56553624432fb01dee3a671f61bb", 40 "version_major": 2, 41 "version_minor": 0 42 }, 43 "text/plain": [ 44 "VBox(children=(HTML(value='\\n <img src=\"/images/memes_2046.png\"/>\\n <pre>The e The\\nWHAT VOTING\\…" 45 ] 46 }, 47 "metadata": {}, 48 "output_type": "display_data" 49 } 50 ], 51 "source": [ 52 "# No need to run this multiple times, it calls itself back once you select the answer\n", 53 "annotator.ask_next()" 54 ] 55 } 56 ], 57 "metadata": { 58 "hide_input": false, 59 "kernelspec": { 60 "display_name": "Python 3 (ipykernel)", 61 "language": "python", 62 "name": "python3" 63 }, 64 "language_info": { 65 "codemirror_mode": { 66 "name": "ipython", 67 "version": 3 68 }, 69 "file_extension": ".py", 70 "mimetype": "text/x-python", 71 "name": "python", 72 "nbconvert_exporter": "python", 73 "pygments_lexer": "ipython3", 74 "version": "3.9.2" 75 }, 76 "latex_envs": { 77 "LaTeX_envs_menu_present": true, 78 "autoclose": false, 79 "autocomplete": true, 80 "bibliofile": "biblio.bib", 81 "cite_by": "apalike", 82 "current_citInitial": 1, 83 "eqLabelWithNumbers": true, 84 "eqNumInitial": 1, 85 "hotkeys": { 86 "equation": "Ctrl-E", 87 "itemize": "Ctrl-I" 88 }, 89 "labels_anchors": false, 90 "latex_user_defs": false, 91 "report_style_numbering": false, 92 "user_envs_cfg": false 93 }, 94 "toc": { 95 "base_numbering": 1, 96 "nav_menu": {}, 97 "number_sections": true, 98 "sideBar": true, 99 "skip_h1_title": false, 100 "title_cell": "Table of Contents", 101 "title_sidebar": "Contents", 102 "toc_cell": false, 103 "toc_position": {}, 104 "toc_section_display": true, 105 "toc_window_display": false 106 } 107 }, 108 "nbformat": 4, 109 "nbformat_minor": 5 110 }