File size: 18,869 Bytes
8fafff8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4c1af0e
8fafff8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4c1af0e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8fafff8
 
 
 
 
 
4c1af0e
8fafff8
 
 
 
 
 
 
4c1af0e
8fafff8
 
 
 
 
 
 
 
 
 
 
4c1af0e
8fafff8
 
4c1af0e
8fafff8
 
 
 
 
4c1af0e
8fafff8
4c1af0e
 
 
 
 
 
 
 
 
 
 
8fafff8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import os\n",
    "from jinja2 import Environment, FileSystemLoader, select_autoescape\n",
    "from get_paperinfo_fromurls import get_paperinfo_fromurls"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "\n",
    "class CARDS_TEMPLATE(object):\n",
    "    def __init__(self, path_to_template, template_filename):\n",
    "        self.path_to_template = path_to_template\n",
    "        self.template_filename = template_filename\n",
    "        self.template = self._get_template()\n",
    "        self.rendered_html = None\n",
    "\n",
    "    def _get_template(self):\n",
    "        env = Environment(\n",
    "                    autoescape=select_autoescape(\n",
    "                        enabled_extensions=('html'),\n",
    "                        default_for_string=True,\n",
    "                    ),\n",
    "                    loader=FileSystemLoader(self.path_to_template)\n",
    "                )\n",
    "        return env.get_template(self.template_filename)\n",
    "\n",
    "    def render(self, paper_details_iterator):\n",
    "        self.rendered_html = self.template.render(paper_details=paper_details_iterator)\n",
    "\n",
    "    def save_html(self, output_dir=None, output_htmlfile=None):\n",
    "        with open(os.path.join(output_dir, output_htmlfile), \"w\") as f:\n",
    "            f.write(self.rendered_html)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "template_file = \"htmlcard.html\"\n",
    "template_path = \"\"\n",
    "card_template = CARDS_TEMPLATE(\n",
    "                path_to_template = template_path,\n",
    "                template_filename = template_file,\n",
    "                )\n",
    "\n",
    "def create_html_card(arxiv_link):\n",
    "    paper_details = get_paperinfo_fromurls(arxiv_link)\n",
    "    card_template.render(paper_details_iterator=paper_details)\n",
    "    return card_template.rendered_html"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "paper_details = get_paperinfo_fromurls(\"https://arxiv.org/abs/2208.13511\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'https://arxiv.org/abs/2208.13511': ArxivPaper(title='Galaxies with Fuzzy Dark Matter', authors=[{'name': 'Jae-Weon Lee'}], abstract='This is a brief review on some properties of galaxies in the fuzzy dark\\nmatter model, where dark matter is an ultra-light scalar particle with mass $m\\n= O(10^{-22})eV$. From quantum pressure, dark matter has a halo length scale\\nwhich can solve the small scale issues of the cold dark matter model, such as\\nthe core-cusp problem, and explain many other observed mysteries of galaxies.', linktopdf='http://arxiv.org/pdf/2208.13511v1', linktoabs='http://arxiv.org/abs/2208.13511v1', arxiv_id='2208.13511')}"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "paper_details"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "card_template.render(paper_details_iterator=paper_details)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "card_template.save_html(output_dir = template_path, output_htmlfile = \"a.html\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'    <head>\\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\\n        <link href=\"csscard.css\" rel=\"stylesheet\" type=\"text/css\"/>\\n\\n    </head>\\n\\n    <body>\\n    \\n        <div class=\"container\">\\n            <div class=\"square\">\\n            <div class=\"mask\">\\n                <div class=\"left\">\\n                <img src=\"https://static.arxiv.org/static/browse/0.3.4/images/arxiv-logo-one-color-white.svg\" alt=\"arxiv logo\">\\n                </div>\\n                <h2 class=\"right\">[2208.13511]</h2>\\n            </div>\\n            <div class=\"h1\">Galaxies with Fuzzy Dark Matter</div>\\n            <ul id=\"links\">\\n                \\n                        <li><div class=\"auth\">Jae-Weon Lee</div></li>\\n                \\n            </ul>\\n            <p>This is a brief review on some properties of galaxies in the fuzzy dark\\nmatter model, where dark matter is an ultra-light scalar particle with mass $m\\n= O(10^{-22})eV$. From quantum pressure, dark matter has a halo length scale\\nwhich can solve the small scale issues of the cold dark matter model, such as\\nthe core-cusp problem, and explain many other observed mysteries of galaxies.</p>\\n\\n            <!-- <ul id=\"urllinks\">\\n                <li>\\n                <a href=\"http://arxiv.org/pdf/2208.13511v1\" target=\"_\" class=\"button\">Article</a>\\n                </li>\\n                <li>\\n                <a href=\"http://arxiv.org/abs/2208.13511v1\" target=\"_\" class=\"button\">Abstract</a>\\n                </li>\\n            </ul> -->\\n            </div>\\n        </div>\\n    \\n    </body>'"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "card_template.rendered_html"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "    <head>\n",
      "        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n",
      "        <link href=\"csscard.css\" rel=\"stylesheet\" type=\"text/css\"/>\n",
      "\n",
      "    </head>\n",
      "\n",
      "    <body>\n",
      "    \n",
      "        <div class=\"container\">\n",
      "            <div class=\"square\">\n",
      "            <div class=\"mask\">\n",
      "                <div class=\"left\">\n",
      "                <img src=\"https://static.arxiv.org/static/browse/0.3.4/images/arxiv-logo-one-color-white.svg\" alt=\"arxiv logo\">\n",
      "                </div>\n",
      "                <h2 class=\"right\">[2208.13511]</h2>\n",
      "            </div>\n",
      "            <div class=\"h1\">Galaxies with Fuzzy Dark Matter</div>\n",
      "            <ul id=\"links\">\n",
      "                \n",
      "                        <li><div class=\"auth\">Jae-Weon Lee</div></li>\n",
      "                \n",
      "            </ul>\n",
      "            <p>This is a brief review on some properties of galaxies in the fuzzy dark\n",
      "matter model, where dark matter is an ultra-light scalar particle with mass $m\n",
      "= O(10^{-22})eV$. From quantum pressure, dark matter has a halo length scale\n",
      "which can solve the small scale issues of the cold dark matter model, such as\n",
      "the core-cusp problem, and explain many other observed mysteries of galaxies.</p>\n",
      "\n",
      "            <!-- <ul id=\"urllinks\">\n",
      "                <li>\n",
      "                <a href=\"http://arxiv.org/pdf/2208.13511v1\" target=\"_\" class=\"button\">Article</a>\n",
      "                </li>\n",
      "                <li>\n",
      "                <a href=\"http://arxiv.org/abs/2208.13511v1\" target=\"_\" class=\"button\">Abstract</a>\n",
      "                </li>\n",
      "            </ul> -->\n",
      "            </div>\n",
      "        </div>\n",
      "    \n",
      "    </body>\n"
     ]
    }
   ],
   "source": [
    "print(card_template.rendered_html)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 94,
   "metadata": {},
   "outputs": [],
   "source": [
    "html = \"\"\"<head>\n",
    "        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n",
    "        \n",
    "        <style>\n",
    "        @import url(\"https://fonts.googleapis.com/css?family=Merriweather|Open+Sans\");\n",
    "\n",
    ".container {\n",
    "  display: flex;\n",
    "  justify-content: center;\n",
    "  padding: 80px;\n",
    "}\n",
    "\n",
    "ul {\n",
    "  list-style-type: none;\n",
    "  display: flex;\n",
    "  float: none;\n",
    "  justify-content: center;\n",
    "  align-items: center;\n",
    "}\n",
    "\n",
    "#urllinks li {\n",
    "  padding: 0px 30px 5px 5px;\n",
    "}\n",
    "\n",
    ".square {\n",
    "  width: 700px;\n",
    "  background: white;\n",
    "  border-radius: 4px;\n",
    "  box-shadow: 0px 20px 50px #d9dbdf;\n",
    "}\n",
    "\n",
    ".mask {\n",
    "  width: 700px;\n",
    "  height: 65px;\n",
    "  clip: rect(0px, 700px, 150px, 0px);\n",
    "  border-radius: 4px;\n",
    "  position: absolute;\n",
    "  background-color: #b31b1b;\n",
    "  display: flex;\n",
    "}\n",
    "\n",
    ".mask .left,\n",
    ".mask .right {\n",
    "  flex: 1;\n",
    "}\n",
    "\n",
    "img {\n",
    "  position: absolute;\n",
    "  width: 60px;\n",
    "  padding: 20px 30px;\n",
    "}\n",
    "\n",
    ".h1 {\n",
    "  margin: auto;\n",
    "  text-align: left;\n",
    "  margin-top: 90px;\n",
    "  padding-left: 30px;\n",
    "  font-family: \"Merriweather\", serif;\n",
    "  font-size: 22px;\n",
    "}\n",
    "\n",
    "h2 {\n",
    "  color: white;\n",
    "  text-align: center;\n",
    "  font-size: 14px;\n",
    "  padding: 10px 0px;\n",
    "  font-family: \"Open Sans\", sans-serif;\n",
    "  font-weight: 400;\n",
    "}\n",
    "\n",
    "p {\n",
    "  text-align: justify;\n",
    "  padding-left: 30px;\n",
    "  padding-right: 30px;\n",
    "  font-family: \"Open Sans\", sans-serif;\n",
    "  font-size: 12px;\n",
    "  color: #949494;\n",
    "  line-height: 18px;\n",
    "}\n",
    "\n",
    ".auth {\n",
    "  text-align: justify;\n",
    "  padding-left: 0px;\n",
    "  padding-right: 20px;\n",
    "  font-family: \"Open Sans\", sans-serif;\n",
    "  font-size: 14px;\n",
    "  line-height: 18px;\n",
    "}\n",
    "\n",
    ".button {\n",
    "  background-color: #b31b1b;\n",
    "  color: white;\n",
    "  width: 150px;\n",
    "  padding: 10px 10px;\n",
    "  border-radius: 3px;\n",
    "  text-align: center;\n",
    "  text-decoration: none;\n",
    "  display: block;\n",
    "  margin-top: 20px;\n",
    "  margin-left: 20px;\n",
    "  margin-right: 20px;\n",
    "  font-size: 12px;\n",
    "  cursor: pointer;\n",
    "  font-family: \"merriweather\";\n",
    "}\n",
    "\n",
    "        </style>\n",
    "\n",
    "\n",
    "    </head>\n",
    "\n",
    "    <body>\n",
    "    \n",
    "        <div class=\"container\">\n",
    "            <div class=\"square\">\n",
    "            <div class=\"mask\">\n",
    "                <h2 class=\"left\">\n",
    "                <img src=\"https://static.arxiv.org/static/browse/0.3.4/images/arxiv-logo-one-color-white.svg\" alt=\"arxiv logo\">\n",
    "                </h2>\n",
    "                <h2 class=\"right\">http://arxiv.org/abs/2208.14178v1</h2>\n",
    "            </div>\n",
    "            <div class=\"h1\">Observational Signatures of Galactic Turbulent Dynamos</div>\n",
    "            <ul id=\"links\">\n",
    "                \n",
    "                        <li><div class=\"auth\">Yann Carteret</div></li>\n",
    "                \n",
    "                        <li><div class=\"auth\">Abhijit B. Bendre</div></li>\n",
    "                \n",
    "                        <li><div class=\"auth\">Jennifer Schober</div></li>\n",
    "                \n",
    "            </ul>\n",
    "            <p>We analyse the observational signatures of galactic magnetic fields that are\n",
    "self-consistently generated in magnetohydrodynamic simulations of the\n",
    "interstellar medium through turbulence driven by supernova (SN) explosions and\n",
    "differential rotation. In particular, we study the time evolution of the\n",
    "Faraday rotation measure (RM), synchrotron radiation, and Stokes parameters by\n",
    "characterising the typical structures formed in the plane of observation. We do\n",
    "this by defining two distinct models for both thermal and cosmic ray (CR)\n",
    "electron distributions. Our results indicate that the maps of RM have\n",
    "structures which are sheared and rendered anisotropically by differential\n",
    "rotation and that they depend on the choice of thermal electrons model as well\n",
    "as the SN rate. Synchrotron maps are qualitatively similar to the maps of the\n",
    "mean magnetic field along the line of sight and structures are only marginally\n",
    "affected by the CR model. Stokes parameters and related quantities, such as the\n",
    "degree of linear polarisation, are highly dependent on both frequency and\n",
    "resolution of the observation.</p>\n",
    "\n",
    "            <!-- <ul id=\"urllinks\">\n",
    "                <li>\n",
    "                <a href=\"http://arxiv.org/pdf/2208.14178v1\" target=\"_\" class=\"button\">Article</a>\n",
    "                </li>\n",
    "                <li>\n",
    "                <a href=\"http://arxiv.org/abs/2208.14178v1\" target=\"_\" class=\"button\">Abstract</a>\n",
    "                </li>\n",
    "            </ul> -->\n",
    "            </div>\n",
    "        </div>\n",
    "    \n",
    "    </body>\"\"\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "import gradio as gr\n",
    "\n",
    "def text_analysis(text):\n",
    "    return html\n",
    "\n",
    "\n",
    "# demo = gr.Interface(\n",
    "#     text_analysis,\n",
    "#     gr.Textbox(placeholder=\"Enter sentence here...\"),\n",
    "#     gr.HTML(),\n",
    "#     examples=[\n",
    "#         [\"What a beautiful morning for a walk!\"],\n",
    "#         [\"It was the best of times, it was the worst of times.\"],\n",
    "#     ],\n",
    "# )\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "CSS = \"\"\"\n",
    "#url-textbox {\n",
    "    padding: 0 !important;\n",
    "}\n",
    "#short-upload-box .w-full {\n",
    "    min-height: 10rem !important;\n",
    "}\n",
    "\n",
    ".gradio-container .gr-button-primary {\n",
    "    background: linear-gradient(180deg, #CDF9BE 0%, #AFF497 100%);\n",
    "    border: 1px solid #B0DCCC;\n",
    "    border-radius: 8px;\n",
    "    color: #1B8700;\n",
    "}\n",
    ".gradio-container.dark button#submit-button {\n",
    "    background: linear-gradient(180deg, #CDF9BE 0%, #AFF497 100%);\n",
    "    border: 1px solid #B0DCCC;\n",
    "    border-radius: 8px;\n",
    "    color: #1B8700\n",
    "}\n",
    "table.gr-samples-table tr td {\n",
    "    border: none;\n",
    "    outline: none;\n",
    "}\n",
    "table.gr-samples-table tr td:first-of-type {\n",
    "    width: 0%;\n",
    "}\n",
    "div#short-upload-box div.absolute {\n",
    "    display: none !important;\n",
    "}\n",
    "gradio-app > div > div > div > div.w-full > div, .gradio-app > div > div > div > div.w-full > div {\n",
    "    gap: 0px 2%;\n",
    "}\n",
    "gradio-app div div div div.w-full, .gradio-app div div div div.w-full {\n",
    "    gap: 0px;\n",
    "}\n",
    "gradio-app h2, .gradio-app h2 {\n",
    "    padding-top: 10px;\n",
    "}\n",
    "#answer {\n",
    "    overflow-y: scroll;\n",
    "    color: white;\n",
    "    background: #666;\n",
    "    border-color: #666;\n",
    "    font-size: 20px;\n",
    "    font-weight: bold;\n",
    "}\n",
    "#answer span {\n",
    "    color: white;\n",
    "}\n",
    "#answer textarea {\n",
    "    color:white;\n",
    "    background: #777;\n",
    "    border-color: #777;\n",
    "    font-size: 18px;\n",
    "}\n",
    "#url-error input {\n",
    "    color: red;\n",
    "}\n",
    "\"\"\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Running on local URL:  http://127.0.0.1:7868/\n",
      "\n",
      "To create a public link, set `share=True` in `launch()`.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div><iframe src=\"http://127.0.0.1:7868/\" width=\"900\" height=\"500\" allow=\"autoplay; camera; microphone;\" frameborder=\"0\" allowfullscreen></iframe></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/plain": [
       "(<gradio.routes.App at 0x157b389d0>, 'http://127.0.0.1:7868/', None)"
      ]
     },
     "execution_count": 22,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "demo = gr.Blocks(css=CSS)\n",
    "with demo:\n",
    "    with gr.Row(equal_height=True):\n",
    "                with gr.Column():\n",
    "                    with gr.Row():\n",
    "                        text = gr.Textbox(\n",
    "                            show_label=False,\n",
    "                            placeholder=\"URL\",\n",
    "                            lines=1,\n",
    "                            max_lines=1,\n",
    "                            elem_id=\"url-textbox\",\n",
    "                        )\n",
    "                        button = gr.Button(\"Get\", variant=\"primary\")\n",
    "    with gr.Row():\n",
    "        card = gr.HTML()\n",
    "\n",
    "    button.click(\n",
    "        fn=text_analysis,\n",
    "        inputs=[text],\n",
    "        outputs=[card]\n",
    "    )\n",
    "\n",
    "demo.launch()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3.10.6 ('venv': venv)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.6"
  },
  "orig_nbformat": 4,
  "vscode": {
   "interpreter": {
    "hash": "ae98d664624800dd4d9fc88411f6d5cdeab1df903964a5ddc213cbd271aad7df"
   }
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}